This directory contains the backend API for the Hotel Finder application.
index.ts - Main entry point for the HTTP APIservices/hotelService.ts - Service for fetching hotel dataFetches hotels by zip code.
Query Parameters:
zipCode (required) - The zip code to search for hotelsResponse:
{ "hotels": [ { "id": "string", "name": "string", "address": "string", "zipCode": "string", "city": "string", "state": "string", "rating": 4.5, "amenities": ["string"], "imageUrl": "string", "weeklyPrice": 700, "nightlyPrice": 120 } ], "totalResults": 5, "zipCode": "10001" }