Skip to content

This project is a hotel booking application built using React. It allows users to search for hotels, view hotel details on map, and make bookmarks

Notifications You must be signed in to change notification settings

hossein-rahmati/Hotel-booking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotel Booking Project with React (not completed)

This project is a hotel booking application built using React. It allows users to search for hotels, view hotel details, and make bookings.

Features

  • User Registration: Users can log in to their account to access additional features such as bookmarks.
  • Hotel Search: Users can search for hotels based on location, check-in/check-out dates, number of guests, and number of rooms.
  • Hotel Details: Users can view detailed information about a specific hotel, including name, country, and county.
  • Map Provider: Users can view the location of searched hotels and saved bookmarks.
  • Booking History: Registered users can view their past bookings and manage their reservations.

Installation

  1. Clone the repository:
git clone https://github.com/hossein-rahmati/Hotel-booking.git
  1. Navigate to the project directory:
cd hotel-booking
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Start the local server:
npm run server
  1. Open your browser and visit localhost to access the application

Dependencies

This project relies on the following dependencies:

  • React: JavaScript library for building user interfaces.
  • React Router: Declarative routing for React applications.
  • Axios: Promise-based HTTP client for making API requests.
  • React Country Flag: Shows the country's flag based on country code.
  • React Date Range: Provides a calendar for check-in/check-out dates.
  • React Hot Toast: Shows notifications especially errors.
  • React Icons: Provides Icons.
  • React Leaflet: Provides Map's structure and graphic

These dependencies are automatically installed when running npm install.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on GitHub.

About

This project is a hotel booking application built using React. It allows users to search for hotels, view hotel details on map, and make bookmarks

Topics

Resources

Stars

Watchers

Forks