mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-30 03:10:00 +00:00
5ae82e379e01eadb2e99b9e633d075ee5647fe6d
Updated routes and templates to improve the process of adding and logging food items by barcode. The add_food_item route now accepts a barcode parameter, and barcode lookups redirect to item creation if not found. The log_food flow now uses session variables for item and meal selection, and the get_item.html template uses fetch to handle barcode lookups and redirects accordingly.
cal_counter
Calorie Counter Webapp
Languages
Python
60.1%
HTML
38.6%
Mako
0.7%
Dockerfile
0.4%
Shell
0.2%