BookMyNest is a hotel booking platform that allows users to search, view, and book hotels, while enabling hotel vendors to manage their listings and bookings. Project provide vendors dashboard and User dashboard pages to manage there information.
- User registration, login, and profile management
- Email verification with OTP
- Browse and search hotels
- View hotel details and images
- Book hotels and view booking history
- Vendor registration and login
- Vendor dashboard to manage hotels and bookings
- Add, edit, and upload hotel details and images
- Responsive UI for users and vendors
- Backend: Django (Python)
- Frontend: Django Templates (HTML, CSS, JS)
- Database: MySql (can be changed)
- Other: Bootstrap (Rapid UI Development), Pillow (image handling)
-
Clone the repository:
git clone https://github.com/BNB2006/Hotel.git cd Hotel -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables: Create a
.envfile inside theBookMyNestdirectory with the following content:SECRET_KEY=your-django-secret-key DB_NAME=your-database-name DB_USER=your-database-username DB_PASSWORD=your-database-password DB_HOST=localhost DB_PORT=3306
Note: Never commit your
.envfile to version control. -
Open project:
cd BookMyNest -
Apply migrations:
python manage.py migrate
-
Create a superuser (admin):
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Access the app:
- User: http://127.0.0.1:8000/
- Admin: http://127.0.0.1:8000/admin/
Hotel/
BookMyNest/ # Django project root
accounts/ # User and vendor accounts app
home/ # Hotel listings, bookings, homepage
media/ # Uploaded images (hotels, profiles)
static/ # Static files (CSS, JS, images)
manage.py # Django management script
requirements.txt # Python dependencies
README.md # Project documentation
Contributions are welcome! Please fork the repository and submit a pull request. For major changes, open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.
For questions, suggestions, or support:
- Email: balajibandgar26@gmail.com
- GitHub Issues: Open an issue
Happy Booking!