Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nexusgksoftwares/django-project
Hotel Booking System A web-based application designed to streamline the process of booking hotel rooms online. It provides a user-friendly interface for customers to browse available rooms, make reservations, and manage bookings. Admins can manage rooms, bookings, and customer information efficiently.
https://github.com/nexusgksoftwares/django-project
bootstrap css django django-rest-framework django-rest-framework-simplejwt hotel-booking hotel-management-system hotels html javascript python
Last synced: 10 days ago
JSON representation
Hotel Booking System A web-based application designed to streamline the process of booking hotel rooms online. It provides a user-friendly interface for customers to browse available rooms, make reservations, and manage bookings. Admins can manage rooms, bookings, and customer information efficiently.
- Host: GitHub
- URL: https://github.com/nexusgksoftwares/django-project
- Owner: NexusGKSoftwares
- License: mit
- Created: 2024-11-15T07:48:59.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-19T18:10:27.000Z (3 months ago)
- Last Synced: 2025-01-10T13:49:19.586Z (about 1 month ago)
- Topics: bootstrap, css, django, django-rest-framework, django-rest-framework-simplejwt, hotel-booking, hotel-management-system, hotels, html, javascript, python
- Language: HTML
- Homepage:
- Size: 2.01 MB
- Stars: 6
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
๐จ Hotel Booking Management System Documentation
๐ Project Overview
The Hotel Booking Management System is a web-based platform designed to simplify and streamline the operations of hotel room management. This system enables administrators to:
Manage room information (add, edit, delete).
Approve or reject customer bookings.
Provide an intuitive and efficient interface for handling administrative tasks.
This project is built using Django, a high-level Python web framework, and incorporates Bootstrap for responsive and attractive frontend design.
---
๐ ๏ธ Technologies Used
Backend:
Python (3.10.12): Primary programming language.
Django (5.1.3): Web framework for rapid development.
Frontend:
HTML/CSS: Core for page structure and styling.
Bootstrap: Used for creating responsive and modern UI components.
Database:
SQLite: Default database used for development and testing.
---
๐ Features
1๏ธโฃ Admin Panel:
Dashboard: Quick access to key functionalities and an overview of the system.
Room Management:
Add new rooms with details such as name, description, pricing, and images.
Edit existing room details.
Delete rooms no longer in use.
Booking Management:
Approve or reject booking requests with a single click.
2๏ธโฃ Room Management:
Store and display detailed information about rooms.
Ensure customers and admins have access to accurate and up-to-date data.
3๏ธโฃ Booking Approval:
Provide an easy workflow for handling booking requests.
---
๐โโ๏ธ Steps to Run the Project
๐งฐ Prerequisites
Before running the project, make sure the following are installed on your system:
Python (3.10 or higher)
Django (installation steps provided below).
A Virtual Environment setup is recommended for managing dependencies.
---
๐ป Step-by-Step Guide
Step 1๏ธโฃ: Clone the Project Repository
Open a terminal and run the following command:
git clone https://github.com//hotel_booking.git
cd hotel_bookingThis command downloads the project to your system and navigates to the project directory.
---
Step 2๏ธโฃ: Set Up a Virtual Environment (Optional but Recommended)
A virtual environment keeps project dependencies isolated.
Run the following commands:python -m venv venv # Create a virtual environment
source venv/bin/activate # Activate on Linux/Mac
venv\Scripts\activate # Activate on Windows---
Step 3๏ธโฃ: Install Project Dependencies
Install the required Python packages using pip:
pip install -r requirements.txt
This ensures you have all the necessary libraries installed.
---
Step 4๏ธโฃ: Apply Database Migrations
Django requires setting up the database structure. Run:
python manage.py makemigrations
python manage.py migrateThis will create the necessary tables in the database.
---
Step 5๏ธโฃ: Create a Superuser
To access the admin panel, you need a superuser account. Run:
python manage.py createsuperuser
Provide a username, email, and password as prompted.
---
Step 6๏ธโฃ: Run the Development Server
Launch the application locally using:
python manage.py runserver
Access the project by opening your browser and navigating to:
http://127.0.0.1:8000/---
๐ Project Structure
Here's a breakdown of the project files and their purpose:
hotel_booking/
โโโ hotel_booking/
โ โโโ settings.py # Main settings for the project
โ โโโ urls.py # URL routing for the application
โ โโโ wsgi.py # Deployment entry point for WSGI servers
โ โโโ asgi.py # Deployment entry point for ASGI servers
โโโ templates/
โ โโโ hotel_booking/
โ โ โโโ base_site.html # Base layout for admin templates
โ โ โโโ add_room.html # Page to add a new room
โ โ โโโ edit_room.html # Page to edit room details
โ โ โโโ admin_home.html # Admin dashboard
โโโ static/ # Static files (CSS, JS, Images)
โโโ manage.py # Django's management script
โโโ README.md # Project documentation---
๐งช Testing the Application
1. Navigate to the admin panel: http://127.0.0.1:8000/admin/
2. Login using the superuser account created earlier.
3. Add rooms, manage bookings, and explore other features.
---
โจ Future Enhancements
Here are some potential improvements to the system:
User Authentication: Allow customers to create accounts and book rooms.
Payment Gateway: Integrate services like Stripe or PayPal for online payments.
Email Notifications: Notify customers of booking confirmations and status updates.
Enhanced UI/UX: Improve the frontend design for a better user experience.
---
๐ฌ Contact Information
If you encounter any issues or need support, feel free to reach out:
Email: [email protected]
GitHub: NexusGK Softwares
---
Enjoy managing your hotel bookings effortlessly! ๐