How narengupta84/indiakitchen works
India Kitchen is a static, vanilla-JavaScript food-ordering SPA. A customer browses and filters a JSON-backed menu, adjusts a cart, and submits an order through WhatsApp. The controller handles menu loading, targeted menu updates, cart totals, and checkout; HTML and CSS provide the interface and presentation. The README documents the flying-cart animation and configuration options. The supplied source excerpt is partial, so some feature connections below rely on README statements rather than inspected implementation.
Main entry points: app.js Cart state · index.html Ordering page · style.css Responsive styling · menu.json Menu dataset
Components 12
Menu experience
- Ordering page
index.html - Responsive styling
style.css - Flying cart animation
app.js
Cart and checkout
- Cart state
app.js - Cart display and totals
app.js - Order checkout
app.js
App content
- Menu loading
app.js - Menu dataset
menu.json - Menu browsing
app.js - Menu filtering
app.js
Other components
- Customer
Connections 14
- Customer → Ordering page: uses
README.md - Ordering page → Responsive styling: styled by
README.md - Ordering page → Menu loading: starts app
README.md - Menu loading → Menu dataset: fetches
app.js - Menu loading → Menu browsing: renders
app.js - Customer → Menu filtering: selects filters
README.md - Menu filtering → Menu browsing: filters
app.js - Menu browsing → Flying cart animation: animates add
app.js - Flying cart animation → Cart state: adds item
app.js - Customer → Cart state: changes quantity
app.js - Cart state → Cart display and totals: updates
app.js - Cart state → Menu browsing: updates buttons
app.js - Customer → Order checkout: submits order
README.md - Order checkout → WhatsApp: sends order
README.md