A complete food ordering experience β from browsing to delivery, all in one place.
BiteRush is a production-ready, full-stack food ordering web application that delivers a seamless experience for both customers and administrators. Built with a modern tech stack, it supports everything from JWT-secured authentication to real-time order tracking and detailed revenue analytics.
| Feature | Description |
|---|---|
| π Authentication | Secure JWT-based Registration & Login with protected routes |
| π½οΈ Menu Browsing | Browse food items with category filtering |
| π Cart Management | Add items, manage quantities, and place orders |
| π¦ Order Tracking | Animated real-time order status timeline |
| π Reorder | Quickly reorder from previous orders |
| π³ Payments | COD & Razorpay payment gateway support |
| π± Responsive UI | Fully optimized for Desktop, Tablet & Mobile |
| Feature | Description |
|---|---|
| π Analytics | Revenue & order analytics with weekly growth tracking |
| π Charts | Interactive revenue and order trend charts |
| π Menu Management | Add, edit, and manage food items & categories |
| π Order Management | View, update, and manage all customer orders |
| π₯ User Management | View and manage registered users |
| ποΈ Coupon Management | Create and manage discount coupons |
| π Top Products | Insights on best-selling items |
| Technology | Purpose |
|---|---|
| Next.js 15 | React framework with SSR & routing |
| TypeScript | Type-safe development |
| Tailwind CSS | Utility-first responsive styling |
| Zustand | Lightweight global state management |
| Recharts | Beautiful, composable analytics charts |
| Lucide React | Clean and consistent icon set |
| Sonner Toast | Elegant notification toasts |
| Technology | Purpose |
|---|---|
| Node.js | JavaScript runtime environment |
| Express.js | Fast, minimal web framework |
| MongoDB | NoSQL document database |
| Mongoose | MongoDB ODM for schema modeling |
| JWT | Secure token-based authentication |
| bcrypt.js | Password hashing & security |
BiteRush/
β
βββ client/ # Next.js Frontend
β βββ src/
β βββ app/ # App Router pages
β βββ components/ # Reusable UI components
β βββ store/ # Zustand state management
β βββ features/ # Feature-specific modules
β βββ providers/ # Context & layout providers
β
βββ server/ # Express.js Backend
β βββ controllers/ # Route handler logic
β βββ models/ # Mongoose data models
β βββ middleware/ # Auth & error middleware
β βββ routes/ # API route definitions
β βββ config/ # DB & environment config
β
βββ README.md
- Node.js
v18+ - MongoDB instance (local or Atlas)
- Razorpay account (for payment integration)
git clone https://github.com/Developer-Deepak02/BiteRush.git
cd biterushcd client
npm installcd ../server
npm installCreate a .env file inside the server/ directory:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
RAZORPAY_KEY_ID=your_razorpay_key
RAZORPAY_KEY_SECRET=your_razorpay_secretBackend:
cd server
npm run devFrontend:
cd client
npm run devThe app will be available at
http://localhost:3000
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/auth/register |
Register a new user |
POST |
/api/auth/login |
Login and receive JWT |
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/menu |
Fetch all menu items |
POST |
/api/menu |
Add a new menu item (Admin) |
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/orders |
Place a new order |
GET |
/api/orders/my |
Get current user's orders |
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/admin/dashboard |
Get analytics overview |
GET |
/api/admin/orders |
Get all orders |
PUT |
/api/admin/orders/:id |
Update order status |
The dashboard provides comprehensive business insights:
- π° Total Revenue β Overall earnings at a glance
- π¦ Total Orders β Volume tracking across all time
- π Revenue Growth β Weekly revenue trend charts
- π Order Growth β Weekly order volume charts
- π Top Selling Products β Best-performing menu items
- π Recent Orders β Live feed of latest activity
- π Order Status Counts β Breakdown by current status
- JWT Authentication β Stateless, token-based auth
- Role-Based Authorization β Separate user & admin access
- Protected Routes β Server and client-side route guards
- Password Hashing β Secure storage using
bcrypt
- πΊοΈ Live Delivery Tracking
- π Push Notifications
- π€ AI-Powered Food Recommendations
- πͺ Multi-Restaurant Support
- π² Progressive Web App (PWA)
- π§Ύ Invoice Generation
This project was developed as an MCA Major Project, demonstrating proficiency in:
- Full Stack Web Development
- RESTful API Design
- Authentication & Authorization
- Database Modeling & Management
- Admin Analytics & Data Visualization
- Modern UI/UX Practices
Deepak Sharma MCA Student Β· Full Stack Web Developer
BiteRush is more than a class project β it's a real-world-ready food ordering platform that demonstrates how modern tools and thoughtful architecture come together to create something genuinely useful. Feel free to fork, contribute, or reach out!
If you found this project helpful, consider giving it a β on GitHub!