How gernsback1/pangankoe works
PanganKoe is a web meal-planning platform for Indonesian households, combining budget- and nutrition-aware planning with a connection to nearby culinary UMKM. The principal visible flow is user registration or login, preference/profile setup, then a synchronized dashboard. README and PRD describe meal-planning, shopping-efficiency, and UMKM-connector capabilities; their detailed runtime wiring is not present in the sampled source, so those branches are shown without speculative links. The sampled source supports the authentication and profile/database relationships.
Main entry points: script.js Interface and state logic · register.php Registration endpoint · connection.php MySQL connection and setup · db_schema.sql Users and profiles
Components 14
Web experience
- Web interface
PanganKoe web/PanganKoe web/index.html - Dashboard view
PanganKoe web/PanganKoe web/dashboard.html - Interface and state logic
PanganKoe web/PanganKoe web/script.js
Meal planning
- Smart meal planner
PanganKoe web/PanganKoe web - Budget and nutrition
PanganKoe web/PanganKoe web/script.js - Efficient shopping calculator
PanganKoe web/PanganKoe web - Nearby UMKM connector
PanganKoe web/PanganKoe web
Accounts and profiles
- Login endpoint
PanganKoe web/PanganKoe web/login.php - Registration endpoint
PanganKoe web/PanganKoe web/register.php - User data endpoint
PanganKoe web/PanganKoe web/userdata.php
Data persistence
- MySQL connection and setup
PanganKoe web/PanganKoe web/connection.php - Users and profiles
PanganKoe web/PanganKoe web/db_schema.sql
Other components
- Household user
- MySQL server
Connections 14
- Household user → Web interface: uses
- Web interface → Interface and state logic: runs
- Interface and state logic → Dashboard view: updates
- Interface and state logic → Budget and nutrition: calculates
- Interface and state logic → Login endpoint: submits credentials
- Interface and state logic → Registration endpoint: submits registration
- Login endpoint → MySQL connection and setup: loads
- Registration endpoint → MySQL connection and setup: loads
- User data endpoint → MySQL connection and setup: loads
- Login endpoint → Users and profiles: reads account
- Registration endpoint → Users and profiles: checks and writes
- Registration endpoint → Users and profiles: creates profile
- User data endpoint → Users and profiles: reads profile
- MySQL connection and setup → MySQL server: connects and initializes