How nukaiah04/food-delivery-platform works
TasteBite is a food-delivery web app: users sign in or register, browse a categorized menu, build a cart, and check out through an authenticated order API. The README documents these product capabilities, while the sampled login client shows requests to the registration and login endpoints and stores the returned token and user. The server and main app client were not excerpted, so their internal routing and the menu-to-order request flow remain unverified; dashed links mark those limits.
Main entry points: app.js Menu and cart · login.html Login page · login.js Auth client · server.js Menu API
Components 12
Web experience
- Login page
public/login.html - Auth client
public/login.js - Food app
public/index.html - Menu and cart
public/app.js
Application API
- Auth endpoints
server.js - Menu API
server.js - Order API
server.js
Ordering
- Menu catalogue
server.js - Shopping cart
public/app.js - Checkout
public/app.js - Orders
server.js
Other components
- Customer
Connections 10
- Customer → Login page: signs in
README.md - Login page → Auth client: submits form
- Auth client → Auth endpoints: requests auth
public/login.js - Customer → Food app: orders food
README.md - Menu and cart → Menu API: loads menu
- Menu API → Menu catalogue: serves menu
- Menu and cart → Shopping cart: manages cart
- Menu and cart → Checkout: checks out
- Menu and cart → Order API: submits order
- Order API → Orders: creates order