Welcome to the Guestline Project repository! This project is a hotel booking system.
- Filter hotels based on the star rating.
- Filter based on the capacity of the room.
- View all images of the displayed hotel
- See hotel details and room details
To get the project up and running on your local machine, follow these steps:
- Clone this repository:
git clone https://github.com/praizerema/guestline-project.git
- Navigate to the project directory:
cd guestline-project
- Install dependencies:
yarn install
(if you do not have yarn installed on your PC runnpm install --global yarn
) - Create a
.env
file in the project root or directory and paste the following variable:REACT_APP_API_URL = https://obmng.dbm.guestline.net/api
- Start the server
yarn start
Once you have installed the dependencies, you can use the project as follows:
- Step 1: Filter hotels by star ratings
- Step 2: Filter by capacity(number of children and adult)
- Step 3: Reset filter.