Test
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.
index.ts
https://boristane--452aa1a25b3b11f0b694f69ea79377d9.web.val.run
A detailed weather application that displays comprehensive weather information for New York City on an interactive map.
- Interactive map of New York City
- Current weather conditions
- Detailed weather metrics (temperature, humidity, wind, pressure, etc.)
- Weather forecast
- Multiple location points across NYC
- Responsive design with modern UI
βββ backend/
β βββ index.ts # Main API server with weather endpoints
βββ frontend/
β βββ index.html # Main HTML template
β βββ index.tsx # React frontend entry point
β βββ components/
β β βββ App.tsx # Main app component
β β βββ WeatherMap.tsx # Interactive map component
β β βββ WeatherCard.tsx # Weather info display
β βββ style.css # Custom styles
βββ shared/
β βββ types.ts # Shared TypeScript types
βββ README.md
- Backend: Hono.js API server
- Frontend: React with TypeScript
- Map: Leaflet.js for interactive maps
- Weather Data: Open-Meteo API (no API key required)
- Styling: TailwindCSS
- Deployment: Val Town
The app displays an interactive map of New York City with weather information overlays. Click on different areas of the map to see detailed weather conditions for that location.