HR.Restaurant

HR.Restaurant 🍽️

An intelligent restaurant chatbot system powered by Python (Flask), MySQL, and Dialogflow. This project enables customers to interact with the restaurant through a natural language interface for reservations, order placements, menu navigation, and customer support — all accessible via a responsive web platform.


📌 Features


🛠️ Technologies Used

Layer Tech Stack
Frontend HTML, CSS, Bootstrap, JavaScript
Backend Python (Flask), Flask-JWT
NLP Engine Dialogflow
Database MySQL (via XAMPP)
Tools JWT, XAMPP, GitHub

🗂️ Project Structure

HR.Restaurant/
│
├── src/
│   ├── static/                # Static files (CSS, JS, etc.)
│   ├── templates/              # HTML templates (index, login, admindashboard,base,feedback,orders,signup,updatepassword,update profile,reservation ,userdashboard etc.)
│   ├── app.py                 # Main Flask backend application
│   ├── fetchdata.py           # Database operations and utility functions
│
├── database/
│   └── restaurant.sql         # MySQL schema for the project
│
├── doc/
│   ├── SRS.pdf                # Software Requirements Specification
│   └── DesignDoc.pdf          # System Design Document
│
├── requirements.txt           # Python dependencies
└── README.md                  # Project documentation

⚙️ How to Run Locally

1. Clone the Repository

git clone https://github.com/hrranger5/HR.Restaurant.git
cd HR.Restaurant/src

2. Create Virtual Environment and Activate

python -m venv venv
venv\Scripts\activate   # For Windows

3. Install Dependencies

pip install -r ../requirements.txt

4. Set Up MySQL Database

5. Run the Application

python app.py

6. Visit in Browser

http://localhost:5000

🤖 Dialogflow Intents

Use Case Intents
Make Reservation Make Reservation,Reservation Confirmation, Cancel_Reservation
Menu Navigation Show Menu
Place Order place-order, order-status ,add to cart
Customer Support FAQs, Feedback, Track Order

📚 Project Documentation

Document Name Description Location
SRS (Software Requirements Specification) Functional and non-functional requirements doc/SRS.pdf
Design Document System architecture and design details doc/DesignDoc.pdf
FinalReport FYP detail doc/FinalReport.pdf

👤 Author


🚀 Future Enhancements


📬 Contact

For feedback or collaboration:
📧 Email: hrranger555@gmail.com

📜 License

This project is licensed under the MIT License.
© 2025 Hafsa – All rights reserved.