Commit Graph

5 Commits

Author SHA1 Message Date
a5312d7ad0 Add admin check and update FoodItems model
Introduced an admin_required check for all admin routes using Flask-Login's current_user. Updated the FoodItems model to use per-100g nutritional fields and removed unit relationships. Seed script now creates both admin and regular user accounts.
2025-06-27 17:23:54 +02:00
1b428b0bda Update .gitignore 2025-06-27 14:09:47 +02:00
830e4d79a4 Remove migrations from git 2025-06-27 14:09:00 +02:00
b498f3693a Initial commit: Flask calorie counter app setup
Add base Flask application with user authentication, SQLAlchemy models for users, units, and food items, admin blueprint, and basic templates. Includes database migration setup, login form, and seed script for initial user creation.
2025-06-26 14:19:09 +02:00
b9f2c420ef Initial commit 2025-06-25 21:58:18 +02:00