Full-stack MERN web app for bakery pre-order + rush-hour queue management.
BakeQ helps busy snack/bakery outlets reduce evening crowding by letting customers pre-order online while staff pack orders ahead of time using a fast, tablet-friendly dashboard.
Customer
- Select outlet → browse menu → add to cart → place order (name + phone)
- Order number generation + total bill + status
- Track order status by order number
Staff (rush-hour optimized)
- Card-based order list (mobile/tablet friendly)
- Outlet filter + order-number search
- Large buttons for fast status updates
- Color-coded statuses:
- Pending = yellow
- Packing = orange
- Packed = green
- Completed = gray
- Frontend: React (Vite), React Router, TailwindCSS, Axios
- Backend: Node.js, Express, MongoDB Atlas, Mongoose, dotenv, cors
client/— React appserver/— Express API
- Copy env template:
server/.env.example→server/.env
- Set
MONGODB_URIto your MongoDB Atlas connection string.
Install + run:
cd server
npm install
npm run devOptional: seed demo outlets/products:
cd server
npm run seedServer runs on http://localhost:5000.
- Copy env template:
client/.env.example→client/.env
- Set
VITE_API_BASE_URL(for local dev:http://localhost:5000).
Install + run:
cd client
npm install
npm run devClient runs on http://localhost:5173.
GET /api/outlets
GET /api/products(optional query:outletId)
POST /api/ordersGET /api/orders(optional query:outletId,status,orderNumber)GET /api/orders/:idPATCH /api/orders/:id/status
- Real-time updates (Socket.IO), QR pickup, analytics, inventory, and PWA are intentionally left for future scope.
- This codebase is structured to be scalable and interview-ready (models/controllers/routes + centralized error handling).