bestHotelPriceDifferential
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v4View latest version
This web app helps users find hotels with the best price differentials for a specific night of the week.
- 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
/backend- API endpoints and data handlingindex.ts- Main API endpointhotels.ts- Hotel data simulation
/frontend- User interfaceindex.html- Main HTML templateindex.tsx- React entry pointcomponents/- React components
/shared- Shared code between frontend and backendtypes.ts- Type definitions
- Enter a zip code
- Select a day of the week
- Submit the form
- View the list of hotels sorted by price differential
- Explore hotel locations on the map