This project aims to completely automate a Paying Guest House and Restaurant (PGHR), and reduce data redundancies and delays throughout the PGHR Management. This would lead to a much more efficiently running hotel and a better experience for the customers. Below are the following functional objectives:
- Rooms Accommodation and Mess management by the admin. Easier Access to the backend data instead of scrolling through pages of the records (books).
- Allocation and Revoking of Rooms by the Admin.
- Customer accessing rooms for booking
- Customer can check their room details, raise tickets and check announcements posted by the admin
- Eg. Announcement – Water won’t be available during a specific section of a day
- Eg. Ticket – Room Cleaning
- Admin is provided with access to the billing software that can be used to bill customers of the attached restaurant. Admin access controls can be modified in such a way that a person can only access a particular section of the console only
- Landing Page that will act as a publicity objective where a customer can check out the rooms, mess, and locate the PGHR.
- Clone the repo
git clone https://github.com/akhilsrinivasp/pg-management-system.git
cd pg-management-system
- Create a Python Virtual Environment
python -m venv .env
source .env/bin/activate #for Linux/Mac Users
.env\Scripts\activate #for Windows Users
- Use the requirements file to install the dependencies
#make sure the environment is activated
python -m pip install -r requirements.txt
- Run the application:
flask run
or
python app.py
|-pghr
|---config.py
|---controllers.py
|---database.py
|---models.py
|---temp.db
|-static
|---images
|---css
|-templates
|---admin
|-----announcement.html
|-----base.html
|-----booking.html
|-----dashboard.html
|-----mess_booking.html
|-----navbar.html
|-----room_booking.html
|-----ticket.html
|---customer
|-----announcement.html
|-----base.html
|-----booking.html
|-----dashboard.html
|-----navbar.html
|-----ticket.html
|---index
|-----base.html
|-----index_navbar.html
|-----index.html
|-----login.html
|-----signup.html
|-app.py
|-ReadMe.md
|-requirements.txt
Contributions to the project are welcome! If you find any bugs, have feature suggestions, or want to improve the code, feel free to open an issue or submit a pull request.
This project is licensed under the Apache License. Feel free to use, modify, and distribute the code according to the terms of the license.