Go to file
Peter Li 97412a8589 saving 2026-02-08 00:11:49 -08:00
learning tutorial project for rust 2026-02-07 10:30:57 -08:00
src saving 2026-02-08 00:11:49 -08:00
templates saving 2026-02-08 00:11:49 -08:00
.gitignore adding chang epassword and public 2026-02-07 16:23:03 -08:00
Cargo.lock saving 2026-02-07 12:57:50 -08:00
Cargo.toml saving 2026-02-07 12:57:50 -08:00
README.md adding chang epassword and public 2026-02-07 16:23:03 -08:00

README.md

Calorie + Weight Tracker

Small Rust web app for tracking daily calories and weight.

Run

cargo run

Open: http://127.0.0.1:3000

What it does

  • Calendar view with daily calorie + weight summaries
  • Day page to add/edit foods and set daily weight
  • Reports page with rolling averages and trend charts
  • Planning page for targets (weight, calories, BMR)
  • User accounts with login/signup and 7-day sliding sessions
  • Optional public profile at /u/<username> with per-section sharing controls

Config

config/app.conf

allow_signup = true
bind_port = 3000

If the file is missing, the app creates it with defaults on startup.