The Hotel Management System is a Python-based console application for managing hotel operations, including room booking, restaurant orders, payments, and record management. It leverages MySQL for efficient data storage and retrieval.
- Room Booking: Reserve rooms with customer details and duration.
- Room Information: Display details and prices of available rooms.
- Menu Orders: Order food items from the hotel's menu.
- Payments: Process customer payments and generate receipts.
- Record Management: Export booking records to CSV files.
- Booking Cancellation: Handle cancellations with dynamic refund policies.
- Search: Find bookings using Customer ID or Aadhaar Number.
- Python 3.x
- MySQL Server
- Python Libraries:
mysql-connector-pythondatetime,csv,os(part of Python's standard library)
Install dependencies with:
pip install mysql-connector-pythonDownload or clone the project folder:
git clone git@github.com:Monark-Arkmon/Hotel-Management-System.git- Start the MySQL server.
- Ensure a MySQL user with:
- Username:
root - Password:
amity
- Username:
- Update credentials in the code if necessary.
The application automatically creates the required database (hotel) and table (booking) during the first run.
Navigate to the project directory and execute:
python Project.pyhotel_management/
├── Project.py # Main script of the application
- Launch the application by running
Project.py. - Use the interactive menu to:
- Book rooms.
- View room details.
- Place restaurant orders.
- Process payments.
- Search and manage records.
- Exported booking records are available as CSV files in the project directory.
- Default admin password for accessing records: 0.
- Cancellation refund policy:
- 10+ days before check-in: 80% refund.
- 5-10 days before check-in: 50% refund.
- 1-5 days before check-in: No refund.
1 - Room Booking
2 - Room Information
3 - Menu Card
4 - Payment
5 - View Records
6 - Cancel Booking
7 - Search Booking
0 - Exit
- This project can be extended with a graphical interface or additional features.
- To contribute or report issues, feel free to open a pull request or create an issue in the repository.