This project is a food delivery application built using the MERN stack (MongoDB, Express.js, React.js, Node.js).
- Browse and search for food items dynamically fetched from the database
- Add items to the cart and place orders
- User authentication and profile management
- Real-time order tracking
- Manage food items (add, update, delete)
- Track and manage customer orders
- View analytics on sales and customer behavior
- Frontend: React - JSX, Redux, Vanilla CSS
- Backend: Node.js, Express.js
- Database: MongoDB (with Mongoose ORM)
- Authentication: JWT-based authentication
- Deployment: Docker / Vercel / Heroku (optional)
git clone https://github.com/403errors/food-delivery.git
cd food-delivery-app
npm install
Create a .env
file in the root directory and add the following:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
CLIENT_URL=http://localhost:3000
STRIPE_SECRET_KEY=your_stripe_secret_key
⚠️ Make sure to replace placeholder values with actual credentials.
For the backend:
npm run server
For the frontend:
cd client
npm start
How project was completed in phases?! Look here for Project Timeline.
- Deployment on Vercel
- AI-based recommendations for food items
- Push notifications for real-time order updates