Skip to content

Joelisking/triphaven

Repository files navigation

Trip Haven

Trip Haven is a web application built with Next.js 14, Tailwind CSS, Shadcn, and Oxylabs for web scraping. It allows users to search for accommodations by location, date, number of adults, children, and rooms, and then scrapes Booking.com for results.

Live Website

Please note that the live website at triphaven.vercel.com is not fully functional due to hosting restrictions on Vercel. However, you can explore the codebase and run the application locally to experience its functionality, but find a live demo here. Demo Video

Features

  • Location-based Search: Users can search for accommodations based on their desired location.
  • Date Selection: Choose the dates for the stay to find availability.
  • Guests and Rooms: Specify the number of adults, children, and rooms required.
  • Web Scraping: Utilizes Oxylabs for scraping Booking.com results page.
  • Responsive Design: Responsive and mobile-friendly user interface.

Technologies Used

  • Next.js 14: A React framework for building server-side rendered and static web applications.
  • Tailwind CSS: A utility-first CSS framework for quickly styling web applications.
  • Shadcn: A library for rapid UI development with style props, themes, and variants.
  • Oxylabs: A web scraping tool used for extracting data from Booking.com.

Getting Started

To run the Trip Haven application locally:

  1. Clone this repository to your local machine.
  2. Install dependencies using npm install.
  3. Set up necessary environment variables.
  4. Run the application using npm run dev.
  5. Access the application through your browser at http://localhost:3000.

Contribution

Contributions are welcome! Feel free to open issues or pull requests for any improvements, bug fixes, or new features you'd like to suggest.

Disclaimer

Please note that web scraping may be subject to legal restrictions and terms of service of the websites being scraped. Ensure compliance with all applicable laws and regulations before deploying or using web scraping tools.

triphaven-home triphaven-loading triphaven-search-results