This repository hosts the source code for TOMATO, a dynamic food ordering website built with the MERN Stack. It offers a user-friendly platform for seamless online food ordering.
- User Panel: https://food-delivery-frontend-s2l9.onrender.com/
- Admin Panel: https://food-delivery-admin-wrme.onrender.com/
- User Panel
- Admin Panel
- JWT Authentication
- Password Hashing with Bcrypt
- Stripe Payment Integration
- Login/Signup
- Logout
- Add to Cart
- Place Order
- Order Management
- Products Management
- Filter Food Products
- Login/Signup
- Authenticated APIs
- REST APIs
- Role-Based Identification
- Beautiful Alerts
- Hero Section
- Products Section
- Cart Page
- Login Popup
Clone the project
git clone https://github.com/Mshandev/Food-DeliveryGo to the project directory
cd Food-DeliveryInstall dependencies (frontend)
cd frontend npm installInstall dependencies (admin)
cd admin npm installInstall dependencies (backend)
cd backend npm installSetup Environment Vaiables
JWT_SECRET=YOUR_SECRET_TEXT SALT=YOUR_SALT_VALUE MONGO_URL=YOUR_DATABASE_URL STRIPE_SECRET_KEY=YOUR_KEYSetup the Frontend and Backend URL
-
App.jsx in Admin folder const url = YOUR_BACKEND_URL
-
StoreContext.js in Frontend folder const url = YOUR_BACKEND_URL
-
orderController in Backend folder const frontend_url = YOUR_FRONTEND_URL
Start the Backend server
nodemon server.jsStart the Frontend server
npm startStart the Backend server
npm startThe application is deployed on Render.
Contributions are always welcome! Just raise an issue, and we will discuss it.
If you have any feedback, please reach out to me here



