saving
This commit is contained in:
parent
ec125b9366
commit
c2fec04090
|
|
@ -1,3 +1,4 @@
|
||||||
/target
|
/target
|
||||||
config/
|
config/
|
||||||
tmp/
|
tmp/
|
||||||
|
data/
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
BIN
data/app.db
BIN
data/app.db
Binary file not shown.
Loading…
Reference in New Issue