Backend Docs
Welcome to the Zesty Zomato Backend Section! Here, users can register or log in with valid credentials to explore a world of culinary delights. Our platform allows you to effortlessly purchase and order food while providing real-time updates on your order status. Our chat bot is available to assist you with any queries you may have.
But that's not all. As an admin, you have full control over the menu. You can add, update, and delete items to ensure your offerings are always up-to-date. Additionally, you can easily access and review order statuses, keeping you in the loop at all times.
At Zesty Zomato Backend, we're committed to providing a seamless and efficient experience for both users and admins. Join us today and take charge of your restaurant's success.
- Create: Add new items to the database.
- Read : Retrieve data from the database.
- Update: Modify existing data in the database.
- Delete: Remove data from the database.
- Python
- Flask
- MongoDB
git clone https://github.com/Amanmandal-M/Zesty-Zomato-System.git
- Python 3.11.4
- Flask 2.0.1
cd Backend
pip install -r requirements.txt
python app.py
├── app.py
├── configs
| └── db.py
├── models
| └── all_model.py
├── routes
| └── user_routes.py
| └── menu_routes.py
| └── order_routes.py
├──controllers
| └── user_controllers.py
| └── menu_controllers.py
| └── order_controllers.py
Note :
- Before doing anything first create
.env
file and putPORT
,MONGO_URI
,NORMAL_KEY
. PORT
is for listening the server.MONGO_URL
is for running database and store your data in database so put your mongo link.NORMAL_KEY
is for authentication jsonwebtoken so basically this is your secret key .
Blueprint | Method | Endpoint | Description | Status Code |
---|---|---|---|---|
user | POST | /user/register | This endpoint should allow users to register. Hash the password on store. | 201 |
user | POST | /user/login | This endpoint should allow users to login. Return JWT token on login. | 201 |
menu-list | GET | /menu-list/ | This endpoint is for view all menu items. | 200 |
menu-list | POST | /menu-list/add-items | This endpoint is for add items in menu list. | 201 |
menu-list | PATCH | /menu-list/update-items/`dish_id e.g: _id` | This endpoint is for view searched products. | 204 |
menu-list | DELETE | /menu-list/delete-items/`dish_id e.g: _id` | This endpoint is for view sort by date. | 202 |
order | GET | /order/ | This endpoint should allow for display all orders | 200 |
order | POST | /order/take-order | This endpoint should allow the user to place an order. | 200 |
order | GET | /order/review-orders | This endpoint is for review the orders. | 200 |
Frontend Docs
Welcome to Zesty Zomato Frontend! Experience a user-friendly interface that makes food ordering a breeze. With a quick registration or login process, you can dive into a world of culinary delights.
Browse through our extensive menu and effortlessly purchase your favorite dishes. Stay in the loop with live order status updates, ensuring you know exactly when your food will arrive. Need assistance? Our chat bot is here to answer any questions you may have.
Zesty Zomato Frontend isn't just for users - admins have powerful tools at their disposal too. Easily manage the menu by adding, updating, or deleting items. Stay on top of all order statuses and efficiently review orders.
Join us on Zesty Zomato Frontend to elevate your restaurant experience. Get ready to indulge in delicious food and seamless interactions.
├── index.html
├── html
| └── userReg.html
| └── adminDashboard.html
├── css
| └── index.css
| └── userReg.css
| └── adminDashboard.css
├── js
| └── index.js
| └── userReg.js
| └── adminDashboard.js
- HTML
- CSS
- JavaScript
- SweetAlert
git clone https://github.com/Amanmandal-M/Zesty-Zomato-System.git
- HTML
- CSS
- JavaScript
- cd Frontend
- Open index.html
- ALT+L+O `Live Server Shortcut Keys`
- Right click on mouse and click `Open with Live Server`