Python • FastAPI • Dialogflow • MySQL
A chatbot-based food ordering application with backend logic, database integration, and order tracking.
Food Delivery Chatbot is a chatbot-based food ordering project developed using Python, FastAPI, Dialogflow, and MySQL.
The application processes chatbot requests through a FastAPI webhook and manages food orders using Python backend logic and a MySQL database.
- 🍔 Add food items to an order
- ➖ Remove food items from an order
- 🧾 Complete an order
- 🔢 Generate an order ID
- 💰 Calculate the total order price
- 📦 Track order status using an order ID
- 💾 Store order information in MySQL
- 🔄 Maintain ongoing orders using session IDs
- 🔗 Process Dialogflow webhook requests using FastAPI
User
↓
Dialogflow
↓
FastAPI Webhook
↓
Python Backend
↓
MySQL Database
| File | Description |
|---|---|
main.py |
FastAPI application and chatbot request handling. |
db_helper.py |
MySQL database operations. |
generic_helper.py |
Helper functions used by the application. |
extra.py |
Additional project functionality. |
pandeyji_eatery.sql |
SQL database script. |
index.html |
HTML interface. |
style.css |
CSS styling for the interface. |
- The user interacts with the chatbot.
- Dialogflow identifies the user's intent.
- The request is sent to the FastAPI webhook.
- The Python backend processes the request.
- Order information is stored or retrieved from MySQL.
- The chatbot returns the appropriate response.
The application supports an ongoing order workflow where food items can be added or removed before the order is completed.
Once an order is completed, the system calculates the order total, generates an order ID, and stores tracking information.
The project uses MySQL for storing and managing food ordering and order tracking data.
The repository includes the SQL database script:
pandeyji_eatery.sql
- Python backend development
- FastAPI webhooks
- Dialogflow integration
- MySQL database integration
- Session-based order management
- CRUD/database operations
- API request and response handling
This project was developed to practice building a backend-driven chatbot application and integrating conversational interfaces with Python and a relational database.
👩💻 Shrutika Dubey
Computer Science Graduate
Python • FastAPI • Dialogflow • MySQL