Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 2.7 KB

readme.md

File metadata and controls

80 lines (52 loc) · 2.7 KB

Hotelhub - Online Hotel Booking Website

Welcome to the Online Hotel Booking Website, a project built with Python, Django, and the Request module.

Table of Contents

Introduction

The Online Hotel Booking Website is a comprehensive platform designed to facilitate hotel reservations online. Built with Python, Django, and the Request module, this project offers a seamless booking experience for users.

Features

  • Responsive UI: Designed an entirely responsive UI for seamless access across various devices, including mobile, tablet, and PCs.
  • Custom Authentication System: Developed a custom authentication system to provide a personalized registration and login process, enhancing data security.
  • Payment Gateway Integration: Integrated a robust payment gateway for real-time booking status updates, ensuring secure transactions.
  • IRCTC API Integration: Utilized the IRCTC API to enhance the travel section with precise train information, offering users a better experience.
  • Advanced Search Functionalities: Implemented advanced search functionalities based on city, state, hotel name, and price to enhance user convenience.

Setup

To set up the Online Hotel Booking Website project locally, follow these steps:

  1. First, fork the repository in your GitHub account and then clone the repository:
git clone https://github.com/your-username/online-hotel-booking.git
  1. Navigate to the project directory:
cd online-hotel-booking
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure Database (Choose one option):

    • SQLite (Default): No additional configuration needed.
    • MySQL or PostgreSQL: Uncomment the respective database settings in settings.py and provide the required credentials.
  2. Run database migrations:

python manage.py migrate
  1. Run the development server:
python manage.py runserver
  1. Access the application at http://localhost:8000 in your web browser.

Usage

Once the application is set up, users can register, log in, and browse hotels. They can search for hotels based on city, state, name, and price, make reservations, and view real-time booking status updates.

Contributing

Contributions are welcome! If you'd like to contribute to the Online Hotel Booking Website, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/new-feature).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature/new-feature).
  6. Create a new Pull Request.