31 lines
648 B
Markdown
31 lines
648 B
Markdown
# 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.
|