• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
mattwd7

mattwd7

bestHotelPriceDifferential

Public
Like
bestHotelPriceDifferential
Home
Code
4
backend
2
frontend
3
shared
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/20/2025
README.md

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
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.