How md-gulshan/foodie-ultimate-professional-v3 works
Foodie is a browser-only food ordering and discovery frontend. The principal journey is restaurant/food discovery, adding items to a cart, checkout, and viewing confirmation, order history, or simulated tracking; account access gates some flows. The README also documents recommendations, mood discovery, combos, group-order simulation, rewards, voice search, offers, and regional foods. The excerpts show core behavior in js/script.js and regional dish data in js/state-foods.js; the small feature-named JS files explicitly defer to script.js. Several feature details and page wiring are documented but not sampled, so those relationships are not asserted here.
Main entry points: script.js Browser Order and Cart State · checkout.html Checkout · cart.html Cart · index.html Home
Components 18
Food Discovery
- Home
index.html - Restaurant Browse
restaurants.html - Restaurant Detail
restaurant-details.html - Regional Food
state-foods.html - Regional Dish Data
js/state-foods.js - Discovery Features
js/script.js
Ordering
- Cart
cart.html - Checkout
checkout.html - Offers
offers.html - Order History
orders.html - Order Confirmation
order-confirmation.html
Account and Delivery
- Authentication
js/auth.js - Login and Signup
login.html - Profile
profile.html - Delivery Tracking
order-tracking.html
Browser Runtime
- Browser Order and Cart State
js/script.js - Shared App Runtime
js/script.js
Other components
- Customer
Connections 21
- Customer → Home: browses
README.md - Home → Restaurant Browse: finds restaurants
- Restaurant Browse → Restaurant Detail: opens listing
- Restaurant Detail → Cart: adds items
- Customer → Regional Food: explores dishes
README.md - Regional Food → Regional Dish Data: uses dish catalog
- Customer → Discovery Features: uses discovery tools
README.md - Customer → Cart: reviews cart
README.md - Cart → Browser Order and Cart State: reads and updates
js/script.js - Customer → Checkout: checks out
README.md - Checkout → Browser Order and Cart State: saves order
js/script.js - Customer → Offers: browses offers
README.md - Customer → Login and Signup: signs in
README.md - Login and Signup → Authentication: uses localStorage auth
- Customer → Profile: views profile
- Customer → Order History: reviews orders
README.md - Order History → Browser Order and Cart State: reads history
js/script.js - Checkout → Order Confirmation: redirects after order
- Customer → Delivery Tracking: tracks delivery
README.md - Delivery Tracking → Browser Order and Cart State: reads order
js/script.js - Shared App Runtime → Authentication: coordinates
js/auth.js