Skip to content

sakan811/Find-the-Best-Place-to-Stay-with-Price-per-Review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finding the Best Place to Stay with Price per Review from Booking.com using Web-Scraping

Finding the best place to stay with Price/Review from Booking.com using web-scraping via a local web-app.

Aim to provide Price/Review Score of the places located in the specified city, when finding a place to stay in that city during a trip.

A lower Price/Review Score indicates that the place is not expensive, yet, with a great review score.

Status

CodeQL

Backend Test

Frontend Test

Trivy Docker Scan

Go Tests

How to Use the Web App

Step 1: Set Up the Web App

  1. Install Docker Desktop
    • Click here to download Docker Desktop.
    • Follow the instructions on the website to install it on your computer.
  2. Download the executable file inside web-app-exe folder depend on your OS.
  3. Place the file in any directory of your choice.

Step 2: Access the Web App

  1. Make sure that the Docker Desktop is running.
    • If not, start the Docker Desktop.
  2. Run the executable file.
    • A terminal will open, and the app will intercept the network for necessary headers, then pull the Docker images, start the containers, and navigate you to the web app via your default browser.
    • Close the terminal to close the web app and Docker containers.
  3. URL to the web app is http://localhost:5000/

Disclaimer

  • When filling out the form, please use abbreviations for currency:

    • For example, if you want to select the US Dollar, enter USD in the currency tab.
  • If you tick the Scrape Hotel Properties Only box, the scraper will only gather data on hotels.

    • If you leave this box unticked, the scraper will retrieve information on all types of places available through Booking.com in the specified city.
  • When entering the country in the form, please provide the full name of the country.

    • Do not use abbreviations.