HotelHawk simplifies hotel searches by aggregating data from top booking sites like Hotels.ca, Booking.com, and makemytrip.com. Our user-friendly platform offers customizable filters for price and rating, exploring popular city insights, tracking recent search history, and locating nearby hotels.
HotelHawk is an advanced hotel price analysis platform designed to simplify the process of finding the perfect accommodation. By crawling and aggregating data from leading booking websites like Hotels.ca, Booking.com, and makemytrip.com, HotelHawk allows users to seamlessly compare hotel prices, explore popular destinations, track recent searches, and locate nearby hotels with ease. The platform is built with a user-centric approach, offering features such as customizable filters for price and rating, spell-check functionality, and word completion, ensuring that users have a smooth and efficient experience.
HotelHawk is divided into two primary components: the Frontend and the Backend. The project leverages a range of technologies and data structures to deliver high-performance and reliable results.
The project makes use of various data structures and algorithms to ensure efficient data processing and retrieval:
Web Crawler:
ArrayList
, Hashtable
HTML Parser:
ArrayList
, Hashtable
, HashMap
Inverted Indexing:
Trie
, HashMap
, Array
Page Ranking:
Priority Queue (MaxHeap)
, HashMap
Spell Checking and Word Completion:
AVL Tree
, Trie
Pattern Finding using Regex:
Filters:
ArrayList
Frontend:
Backend:
To get started with HotelHawk, follow the steps below:
First, clone the project from GitHub:
git clone https://github.com/Vrutik21/HotelHawk.git
cd Backend
Backend/src/main/java/com/HotelHawk/Spring/Application.java
. You can do this using an IDE like VS code or Eclipse, or via the command line with the following command:./mvnw spring-boot:run
Alternatively, if you are using an IDE, simply open the project, locate the Application.java file, and run it.
cd Frontend
npm i
npm run start
http://localhost:3000
to view the application.HotelHawk/
├── Backend/
│ ├── src/
│ │ ├── main/
│ │ │ ├── java/com/HotelHawk/Spring/Application.java
│ │ └── ...
│ └── ...
├── Frontend/
│ ├── src/
│ ├── public/
│ ├── package.json
│ └── ...
└── README.md