First version

This commit is contained in:
Lol3rrr
2025-12-28 12:31:59 +01:00
commit a1d53deaea
32 changed files with 6599 additions and 0 deletions

16
README.md Normal file
View File

@@ -0,0 +1,16 @@
# CalFlow
A simple calorie tracking app
## Development Setup
### DB
Start the corresponding docker-compose file to run a temporary postgres instance.
To inspect the DB state directly `docker compose exec pg psql -U postgres test`
### Backend
Go into the backend folder and run it using `cargo run`
### Frontend
1. Start a node environment using docker (`docker run -it -v $(pwd):/mnt/calflow --net=host node:25 /bin/bash`)
2. Go into the frontend folder (`cd /mnt/calflow/frontend`)
3. Start the dev server (`npm run dev -- --host`)