This commit is contained in:
Peter Li 2026-02-07 13:12:36 -08:00
parent ec125b9366
commit c2fec04090
3 changed files with 31 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/target
config/
tmp/
data/

30
README.md Normal file
View File

@ -0,0 +1,30 @@
# Calorie + Weight Tracker
Small Rust web app for tracking daily calories and weight.
## Run
```bash
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`
```conf
allow_signup = true
```
If the file is missing, the app creates it with defaults on startup.

Binary file not shown.