Eatzy is a full-stack food ordering website built using the MERN stack. It allows users to browse food items, add them to a cart, and place orders securely using Stripe. The platform includes user and admin panels, login/signup functionality, role-based access, and complete order and product management.
- User: Signup/Login, browse menu, add to cart, place orders, view order history
- Admin: Add/edit/delete items, manage orders
- Secure authentication with JWT and Bcrypt
- Stripe payment integration
- Role-based access with protected APIs
- Responsive design with file upload and user alerts
- Frontend: React
- Backend: Node.js, Express.js
- Database: MongoDB
- Auth: JWT, Bcrypt
- File Uploads: Multer
- Payments: Stripe
Make sure you have the following installed:
First, clone the repository to your local machine:
git clone https://github.com/AsmitaMishra24/Eatzy.git
cd EatzyNavigate to the backend folder and install the required dependencies:
cd backend
npm installCreate a .env file in the backend folder with the following configuration:
PORT=4000
NODE_ENV=development
MONGODB_URL=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
STRIPE_SECRET_KEY=your_stripe_secret_key
FRONTEND_URL="http://localhost:5174"
BACKEND_URL="http://localhost:4000"Start the backend server:
npm run serverThis will start the server on http://localhost:4000.
Open another terminal, navigate to the admin folder, and install the required dependencies:
cd admin
npm installStart the admin panel:
npm run devThis will start the admin panel on http://localhost:5173.
Open another terminal, navigate to the frontend folder, and install the required dependencies:
cd frontend
npm installStart the frontend:
npm run devThis will start the frontend on http://localhost:5174.
Backend: http://localhost:4000
Admin Panel: http://localhost:5173
Frontend: http://localhost:5174
- Ensure that the
.envvariables are correctly configured in the backend. - Make sure MongoDB and Stripe services are active and connected.
This project was developed by Asmita Mishra.
For any questions or feedback, feel free to reach out at:
- GitHub: AsmitaMishra
- LinkedIn: Asmita Mishra









