Skip to content

git-sumitchaudhary/HOTEL-MANAGEMENT-SYSTEM

Repository files navigation

๐Ÿจ Hotel Management System

A command-line Hotel Management System built with Python and MySQL.
This system automates customer management, room booking, billing, and service tracking โ€” streamlining hotel operations and ensuring accurate record-keeping.


โœจ Features

  • ๐Ÿ‘ค Customer Management: Add, view, search, update, and delete customer records.
  • ๐Ÿ  Room Booking: Assign random room numbers, calculate rent by type & stay duration.
  • ๐Ÿ’ฐ Billing System: Auto-calculate charges for:
    • Room
    • Restaurant services
    • Laundry services
    • Game activities
  • ๐Ÿ—„๏ธ Data Persistence: All data stored in MySQL for reliability.
  • ๐Ÿ’ป User-Friendly CLI: Interactive menu-driven system.

๐Ÿ› ๏ธ Tech Stack

  • Language: Python 3.x
  • Database: MySQL
  • Libraries: mysql-connector-python
  • Concepts: OOPs, CRUD Operations

โš™๏ธ Setup Instructions

1๏ธโƒฃ Prerequisites

  • Install Python 3.x โ†’ Download here
  • Install MySQL Server โ†’ Download here
  • Install MySQL Connector:
    pip install mysql-connector-python

2๏ธโƒฃ Database Setup

Run the setup script (update password inside first):

python database_setup.py

It will: โœ”๏ธ Create database HOTEL_MANAGEMENT โœ”๏ธ Create tables: hoteldata, customer, room โœ”๏ธ Insert sample data

3๏ธโƒฃ Run Application

Update your MySQL credentials in hotel_management.py and then run:

python hotel_management.py

๐ŸŽฎ Usage

When you start the app, youโ€™ll see:

1. Speciality of your Hotel
2. Customer Management
3. Booking for Private Party
4. EXIT

๐Ÿจ Speciality of your Hotel โ†’ Hotel details, services & facilities

๐Ÿ‘ค Customer Management โ†’ Manage bookings & customer records (CRUD)

๐ŸŽ‰ Booking for Private Party โ†’ (Future feature / placeholder)

โŒ EXIT โ†’ Exit program

๐Ÿ“‚ Project Structure . โ”œโ”€โ”€ hotel_management.py # Main application โ”œโ”€โ”€ database_setup.py # DB initialization script โ”œโ”€โ”€ README.md # Project documentation โ””โ”€โ”€ .gitignore

๐Ÿ“ธ Screenshots

โžค Customer Management

Customer Management

โžค Displaying Customers in Hotel

Displaying Customers

โžค Data of Customers in Database

Customer Table

โžค Inserting Data of Various Services

Services Data

โžค Inserting Data of Customers

Customer Data

โžค Searching Customer By Code

Search Customer

โžค Deleting Customer By Code

Deleting Customer

Want to make it better? Fork the repo, open an issue, or submit a PR ๐Ÿš€

๐Ÿ“œ License

Licensed under the MIT License. Feel free to use and modify.

๐Ÿ‘จโ€๐Ÿ’ป Developed by Sumit Chaudhary


โœจ Changes I made:

  • Added icons (๐Ÿ‘ค ๐Ÿจ ๐Ÿ’ฐ ๐ŸŽ‰ etc.) for quick readability.
  • Broke long paragraphs into lists and sections.
  • Made setup & usage step-by-step.
  • Screenshots have clear section titles.
  • Added attractive project structure block.

Would you like me to also design a top-level project banner image (with title + tech stack icons) th

About

SIMULATING A HOTEL MANAGEMENT SYSTEM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages