Welcome to NomNom Food Bot! This project is a delightful web-based food ordering system that lets you explore a multi-cuisine menu, place orders, and track them with ease. Built with a Flask backend, MySQL database, and a user-friendly interface, it's a fun way to experience technology while enjoying your favorite meals! You can also build it with Dialogflow for a conversational AI experience. ๐๐
Screen.Recording.2025-07-13.012800.mp4
NomNom brings a variety of cuisines under one roof, from Butter Chicken to Sushi, making food ordering accessible and enjoyable. It's a step toward enhancing convenience and supporting food lovers everywhere!
NomNom Food Bot is a beginner-friendly web app that allows you to:
๐ Browse a diverse menu with items like Spaghetti Carbonara, Tacos, and Falafel
๐ Add items to your cart and place orders with a simple form
๐ฆ Track your order status in real-time with a unique order ID
โจ๐ Experience real-time cart updates with Flask or chat with the Dialogflow bot!
๐๏ธpandeyji_eatery.sql: SQL script to set up the MySQL database
๐ป script.js: JavaScript for cart and order form functionality
๐ db_helper.py: Python module for MySQL database interaction
๐ง generic_helper.py: Utility functions for text processing
๐ index.html: Main webpage with menu and order sections
๐จ index.css: Styling for the web interface
๐ main.py: Flask API for order processing
๐ requirements.txt: Project dependencies
๐ค All JSON intent and entities files for creating an AI chatbot with ordering/tracking capabilities
๐ Python 3.8+
๐ MySQL Server
๐ Required libraries: fastapi, mysql-connector-python, uvicorn
๐ (Optional) Dialogflow Account for chatbot alternative
๐ Web Browser
๐๐ A Hungry Mind!
| Component | Technology |
|---|---|
| Frontend | HTML5, CSS3, JavaScript |
| Backend | Python (FastAPI) |
| NLP Engine | Dialogflow |
| Database | MySQL |
| Deployment | Localhost/Dialogflow ES |
git clone https://github.com/Archana-P-Nair/NomNom-Chatbot.git
cd NomNom-Chatbotpython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txtmysql -u root -p < pandeyji_eatery.sqlUpdate DB_PASSWORD in db_helper.py with your MySQL password. ๐
python main.pyAlternatively, for development with auto-reloading:
uvicorn main:app --reloadOpen your browser and go to http://127.0.0.1:8000 to use the app! ๐
-
Create a Dialogflow agent at console.dialogflow.com.
-
Define intents for "Order Food," "Track Order," and "Menu Inquiry."
-
Connect to a webhook (e.g., Flask API) or use fulfillment for responses.
-
Embed the Dialogflow chatbot in index.html using the Dialogflow Web Demo's iframe code.
-
Test with voice/text inputs!
๐ฑConvenient Ordering: Order food from multiple cuisines with ease.
๐กReal-Time Tracking: Stay updated on your order status.
๐ป๐คLearning Tool: Great for learning web development, database integration, or conversational AI with Dialogflow!
๐ณ Add Payment Integration: Include a payment gateway for online transactions.
๐ฑMobile App: Port the project to a mobile platform for on-the-go ordering.
๐ฅMore Features: Add user accounts, order history, and live chat support.
๐ฎExpand Menu: Include more dishes and cuisines.