Hunger Hive is a production-ready full-stack food delivery platform built with the MERN stack, supporting real-time order management, secure authentication, and responsive cross-device experience.
It includes:
- Customer application
- Admin dashboard
- Backend REST API
- JWT authentication
- MongoDB database
- Register and Login
- Browse food items
- Add to cart
- Place orders
- View order history
- Add / Edit / Delete food items
- Manage orders
Frontend:
- React
- Tailwind CSS
- Axios
Backend:
- Node.js
- Express.js
- MongoDB
- JWT
Deployment:
- Vercel (Frontend)
- Render (Backend)
Frontend (React) communicates with Backend (Express API)
Backend handles authentication, order processing, and database operations
MongoDB stores users, products, and orders
JWT secures protected routes
Admin panel interacts with the same backend API
POST /api/user/login
POST /api/user/register
GET /api/food/list
POST /api/order/place
GET /api/order/userorders
Food-Delivery/ ├── frontend/ ├── admin/ └── backend/
Each folder has its own package.json.
- User logs in
- Backend validates user
- JWT token is created
- Token stored in localStorage
- Protected routes verify token
Backend (.env)
PORT=5000 MONGO_URI=your_mongodb_connection JWT_SECRET=your_secret_key
Frontend (.env)
VITE_BASE_URL=https://food-delivery-1-ye61.onrender.com
git clone https://github.com/Lagadnakul/Food-Delivery.git
cd Food-Delivery
Backend:
cd backend npm install npm run dev
Frontend:
cd frontend npm install npm run dev
Admin:
cd admin npm install npm run dev
Nakul Lagad
GitHub: https://github.com/Lagadnakul/Food-Delivery
⭐ If you like this project, give it a star.





