Welcome to the My PG Project! This project is designed to help manage paying guest accommodations efficiently. It allows landlords to manage their PG properties and tenants to find and book accommodations easily.
- User Registration and Authentication
- Landlord Dashboard for Property Management
- Tenant Dashboard for Booking Management
- Search and Filter PG Properties
- Online Booking and Payment Integration
- Room Availability Tracking
- Reviews and Ratings System
- Notifications and Email Alerts
Before you begin, ensure you have the following installed:
- Python (version 3.13+)
- Django (version 5.0+)
- PostgreSQL (or any preferred database)
Follow these steps to set up the project on your local machine:
-
Clone the repository:
git clone https://github.com/AfshanAlamEngg/mypg-backend cd mypg-backend
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
# On Windows venv\Scripts\activate # On macOS/Linux source venv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure the database settings in
my_pg/settings.py
. -
Apply migrations:
python manage.py migrate
-
Create a superuser to access the admin panel:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
After setting up the project, you can access the application by navigating to http://127.0.0.1:8000/
in your web browser. Use the superuser credentials to log in to the admin panel and start managing your PG properties.
We welcome contributions! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add your feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE
file for more information.
For any inquiries or support, please contact afshanalamengg@gmail.com