How wenwen123-ban/nutri_track works
Nutri Tracker is a Flask-based child nutrition and feeding-program tracker. Staff use the browser interface to enter and review child measurements; the interface previews WHO growth indicators and supports child/parent records, requirement clearances, announcements, and feeding-record documents. The Flask application provides page, authentication, and JSON API behavior, with a second Termux-oriented copy. The excerpts establish some browser-to-API links, but not the full persistence wiring, so storage relationships are omitted.
Main entry points: main.js Nutrition interface · app.py Flask application
Components 15
Browser interface
- Nutrition interface
nutri_tracker/static/Script/main.js - Page templates
nutri_tracker/templates/main.html - Interface styles
nutri_tracker/static/Styles/main.css
Application server
- Flask application
nutri_tracker/app.py - Termux app copy
nutri_tracker/app1.py
JSON data
- Child records
nutri_tracker/data.json - Parent records
nutri_tracker/parents.json - Clearance data
nutri_tracker/clearance.json - Requirements
nutri_tracker/requirements.json - Announcements
nutri_tracker/announcement.json - Feeding records
nutri_tracker/feeding_records.json - Feeding program
nutri_tracker/feeding_program.json - Login attempts
nutri_tracker/login_attempts.json - Admin session
nutri_tracker/admin_session.json
Other components
- Staff user
Connections 3
- Staff user → Nutrition interface: uses
- Nutrition interface → Flask application: requests clearance
nutri_tracker/static/Script/main.js - Flask application → Nutrition interface: returns clearance
nutri_tracker/app.py