The Online Restaurant Ordering System with Dietary Recommendations is a web-based platform designed to enhance the food ordering experience by integrating dietary customization. This system provides tailored menu recommendations based on individual dietary preferences, such as vegan, gluten-free, or lactose-free, while offering a robust admin dashboard for restaurant management.
- Personalized Recommendations: Filter menus based on dietary preferences (e.g., vegan, gluten-free).
- Order Management: Add items to a cart and place orders with ease.
- User Profile: Store dietary preferences and order history for a personalized experience.
- Menu Management: Add, update, and delete menu items.
- Order Tracking: Monitor real-time orders and statuses.
- Sales Insights: Access reports and analytics to track performance.
- Secure Transactions: Integrated secure payment gateway.
- Mobile-Friendly Design: Fully responsive for use on smartphones, tablets, and desktops.
- Notifications: Real-time updates for customers and administrators.
- HTML and CSS: For a responsive and user-friendly interface.
- JavaScript: Adds interactivity to the UI.
- Python Flask: Handles server-side logic and API development.
- MySQL: Manages structured data storage for users, orders, and menu items.
- VS Code: Preferred IDE for development.
- GitHub: Version control and collaboration.
-
Clone the repository:
git clone https://github.com/bpdeepak/DBS_Project.git
-
Navigate to the project directory:
cd DBS_Project -
Set up the virtual environment:
python -m venv env source env/bin/activate # On Windows: env\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up the database:
- Import the provided
schema.sqlfile into MySQL. - Update the database configuration in
config.py.
- Import the provided
-
Run the application:
flask run
-
Access the application in your browser:
- Customer Portal:
http://localhost:5000 - Admin Dashboard:
http://localhost:5000/admin
- Customer Portal:
- Users: Stores customer details and preferences.
- Menu: Contains menu items with dietary classifications.
- Orders: Tracks orders placed by customers.
- Cart: Manages temporary order details before placement.
- Admin Logs: Records administrative actions.
- Users and Orders: One-to-many.
- Users and Cart: One-to-many.
- Menu and Orders: Many-to-many.
- Sign up and create a profile, including dietary preferences.
- Browse the menu and filter items based on preferences.
- Add items to your cart and place an order.
- Track your order status in real-time.
- Log in to the admin dashboard.
- Manage menu items and track active orders.
- View analytics and reports for business insights.
- AI-Driven Recommendations: Use machine learning to refine menu suggestions.
- Mobile Application: Develop native apps for Android and iOS.
- Wearable Integration: Sync with health trackers for personalized dietary insights.
We welcome contributions to this project! To get started:
- Fork the repository.
- Create a feature branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add feature-name" - Push to your branch:
git push origin feature-name
- Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
For questions or feedback, please contact:
- Email: 1ms22cs039@msrit.edu
- GitHub: your-username