diff --git a/.gitignore b/.gitignore index 2b87f3e..f7363ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target config/ tmp/ +data/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..ab49f1d --- /dev/null +++ b/README.md @@ -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/` 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. diff --git a/data/app.db b/data/app.db deleted file mode 100644 index f5a3fc9..0000000 Binary files a/data/app.db and /dev/null differ