Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

๐Ÿ•๐Ÿค– NomNom Chatbot - A smart FastAPI-powered food ordering assistant! "Add 2 pizza", "Remove tacos", "Track order #123" - this chatbot understands it all! Backend for restaurant ordering systems with NLP capabilities.

Notifications You must be signed in to change notification settings

Archana-P-Nair/NomNom-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NomNom Food Bot ๐Ÿฝ๏ธ๐ŸŒŸ

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

Why NomNom Matters? ๐Ÿด๐ŸŒ

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!

What's This Project About? โœจ

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!

What's in the Box? ๐Ÿ“ฆ

Core Files:

๐Ÿ—ƒ๏ธ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

Dialogflow Option:

๐Ÿค– All JSON intent and entities files for creating an AI chatbot with ordering/tracking capabilities

Prerequisites ๐Ÿ› ๏ธ

๐Ÿ Python 3.8+

๐Ÿ“Š MySQL Server

๐Ÿ“š Required libraries: fastapi, mysql-connector-python, uvicorn

๐ŸŒ (Optional) Dialogflow Account for chatbot alternative

๐ŸŒ Web Browser

๐Ÿ”๐Ÿ˜„ A Hungry Mind!

๐Ÿ› ๏ธ Tech Stack

Component Technology
Frontend HTML5, CSS3, JavaScript
Backend Python (FastAPI)
NLP Engine Dialogflow
Database MySQL
Deployment Localhost/Dialogflow ES

How to Run This Project? ๐Ÿš€

1. Clone the Repository

git clone https://github.com/Archana-P-Nair/NomNom-Chatbot.git
cd NomNom-Chatbot

2. Set up the Environment

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

3. Install Dependencies

pip install -r requirements.txt

4. Set Up the Database

mysql -u root -p < pandeyji_eatery.sql

Update DB_PASSWORD in db_helper.py with your MySQL password. ๐Ÿ”‘

5. Run the Web App

python main.py

Alternatively, for development with auto-reloading:

uvicorn main:app --reload

Open your browser and go to http://127.0.0.1:8000 to use the app! ๐ŸŒ

For Dialogflow Chatbot

  • 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!

How Is It Useful? ๐ŸŒŸ

๐Ÿฑ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!

Future Work ๐ŸŒฑ

๐Ÿ’ณ 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.

About

๐Ÿ•๐Ÿค– NomNom Chatbot - A smart FastAPI-powered food ordering assistant! "Add 2 pizza", "Remove tacos", "Track order #123" - this chatbot understands it all! Backend for restaurant ordering systems with NLP capabilities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published