A comprehensive hotel management system built with Flask, featuring room management, booking system, guest portal, loyalty programs, and advanced analytics.
- 🏨 Room Management with Multi-Image Gallery
- 📅 Advanced Booking System with Timeline
- 👥 Guest Portal with Self-Registration
- 💳 Billing & PDF Invoice Generation
- ⭐ Review & Rating System
- 🎁 Loyalty Program (Bronze/Silver/Gold/Platinum)
- 🧹 Room Cleaning Status Tracking
- 📊 Advanced Analytics & Reports
- 🔔 Real-time Notifications
- 🌙 Dark Mode Support
- 👨💼 Staff Management
- 🍽️ Additional Services (Food, Laundry, etc.)
- 📈 Revenue Dashboard
- Backend: Python Flask
- Database: PostgreSQL (Production) / SQLite (Development)
- Frontend: HTML, CSS, JavaScript, Bootstrap 5
- Charts: Chart.js
- PDF: ReportLab
- Authentication: Flask-Login
- Clone the repository
- Create virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Run the application:
python app.py- Open browser: http://127.0.0.1:5000
- Admin: username:
admin, password:admin123 - Guest: Register a new account
- Push code to GitHub
- Connect Render to your GitHub repository
- Render will automatically detect
render.yaml - Click "Create New" → "Blueprint"
- Select your repository
- Render will create database and web service automatically
SECRET_KEY: Auto-generated by RenderDATABASE_URL: Auto-configured by RenderMAIL_SERVER: (Optional) For email featuresMAIL_USERNAME: (Optional) For email featuresMAIL_PASSWORD: (Optional) For email features
- Users: Admin, Staff, Guest accounts
- Rooms: Room details, images, amenities
- Guests: Guest information, loyalty points
- Bookings: Booking records with timeline
- Reviews: Room reviews and ratings
- Notifications: User notifications
- Services: Additional hotel services
- Payments: Payment tracking
- RoomImages: Multiple images per room
/login- User authentication/register- Guest registration/dashboard- Admin dashboard/guest/dashboard- Guest dashboard/rooms- Room management/bookings- Booking management/calendar- Calendar view/reports- Custom date reports/analytics- Advanced analytics/notifications- Notification center/services- Additional services/staff- Staff management/cleaning-dashboard- Cleaning status
This is a complete production-ready system. Feel free to:
- Report bugs
- Suggest features
- Submit pull requests
MIT License - Free to use for educational and commercial purposes
For issues or questions, please create an issue in the repository.
Built with ❤️ using Python & Flask