Hotel Price Differential Finder

This web app helps users find hotels with the best price differentials for a specific night of the week.

Features

  • Search hotels by zip code
  • Select a specific day of the week (the "desired night")
  • View hotels sorted by price differential (the difference between the desired night's rate and the highest rate of the week)
  • See hotel locations on an interactive map

Project Structure

  • /backend - API endpoints and data handling
    • index.ts - Main API endpoint
    • hotels.ts - Hotel data simulation
  • /frontend - User interface
    • index.html - Main HTML template
    • index.tsx - React entry point
    • components/ - React components
  • /shared - Shared code between frontend and backend
    • types.ts - Type definitions

How to Use

  1. Enter a zip code
  2. Select a day of the week
  3. Submit the form
  4. View the list of hotels sorted by price differential
  5. Explore hotel locations on the map