A Flask + MySQL based Hotel Management System that allows managing bookings, availability, check-ins, services, and billing.
- Room availability search
- Room booking with guest details and ID verification
- Check-in / Check-out management
- Service ordering and tracking
- Billing with auto-calculated charges + tax
- Responsive Bootstrap 5 UI
- Custom error pages (404, 500)
├── app.py ├── requirements.txt ├── templates/ ├── static/ │ ├── css/style.css │ └── js/script.js ├── db/ └── .env
git clone https://github.com/your-username/hotel-management-system.git
cd hotel-management-systempython -m venv venv
source venv/bin/activate # Mac/Linux
venv\Scripts\activate # Windowspip install -r requirements.txtCreate a .env file:
FLASK_SECRET_KEY=your-secret-key
FLASK_DEBUG=True
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=yourpassword
DB_NAME=hotel_managementCreate a database hotel_management and import the schema (tables: bookings, customers, rooms, services, billing, etc.).
python app.pyOpen 👉 http://127.0.0.1:5000/
🛠️ Tech Stack
Flask (Python)
MySQL
Bootstrap 5 + Font Awesome
Jinja2 Templates
Vanilla JavaScript