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.