Snotel-Analyzer
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://bjtitus--d86c726c47cf11f0b27b76b3cceeab13.web.val.run
A web application that displays the latest SNOTEL (Snow Telemetry) data from USDA's AWDB REST API.
- Displays latest snow and weather data from SNOTEL sites
- Interactive table with site information
- Real-time data fetching from USDA AWDB API
backend/index.ts
- Main Hono server with API endpointsfrontend/index.html
- Main HTML templatefrontend/index.tsx
- React frontend applicationshared/types.ts
- Shared TypeScript types
GET /
- Serves the main applicationGET /api/sites
- Fetches SNOTEL site dataGET /api/data/:stationId
- Fetches latest data for a specific station
The application automatically loads and displays SNOTEL data in a table format showing:
- Station information (name, location, elevation)
- Latest snow depth measurements
- Temperature data
- Precipitation data