Skip to content

as4c/Motelo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motelo - Hotel Booking App

home-page This is a Django web application for hotel booking. It provides users with the ability to book hotels, check hotel availability, manage check-in and checkout, view hotel details, write reviews, and process online payments using the Stripe API.

Features

  • User Authentication : Users can register, log in, and manage their accounts.
  • Book a New Hotel : Users can search for hotels, select dates, and make bookings.
  • Check Hotel Availability : Users can check the availability of hotels for specific dates.
  • Check-in and Checkout : Users can manage their check-in and checkout dates.
  • Hotel Detail Description : Users can view detailed information about hotels, including amenities, room types, and location.
  • Write Hotel Rating Reviews : Users can write and submit reviews/ratings for hotels they have stayed in.
  • Online Booking with Stripe : Integrated Stripe payment API for secure online payment processing.

Screenshots

HomePage home-page

Search result page search-result

Hotel Detail Page hotel-detail

Hotel Services Page services

Hotel available page available

Booking Form booking-form

Payment page payment-page

Payment Successfull page payment-successfull

Installation

  1. Clone the repository:
git clone https://github.com/as4c/Motelo.git
  1. Change into the project directory:
  2. Create a virtual environment:
python3 -m venv env
  1. Activate the virtual environment:
  • For Windows:

    .\env\Scripts\activate
    
  • For Linux/Mac:

    source env\bin\activate
    
  1. Install the required dependencies:
pip instatll -r requirements.txt
  1. Set up the database:

  2. Run the development server:

python manage.py migrate
  1. Open your web browser and visit http://localhost:8000 to access the application.

Configuration

Before running the app, make sure to configure the following settings:

  • Database Configuration: Update the database settings in the settings.py file.
  • Stripe API Configuration: Set up your Stripe API keys in the settings.py file.

Contributing

Contributions are welcome! If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature/fix:
git checkout -b feature/my-feature
  1. Make your changes and commit them:
git commit -m "Add new feature"
  1. Push the changes to your forked repository:
git push origin feature/my-feature
  1. Open a pull request on the original repository.

License

This project is licensed under the MIT License.

About

A Hotel Booking App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published