A simple, beautiful web application that displays expected snowfall in the user's area.
- 🌍 Automatic location detection via browser geolocation
- ✏️ Manual location input as fallback
- ❄️ Animated snowfall background
- 📊 Real-time weather data from Open-Meteo API
- 🔄 Auto-refresh every minute
- Vite - Build tool
- React 18 - UI framework
- TypeScript - Type safety with strict mode
- TanStack Query - Data fetching and caching
- Framer Motion - Animations
- Tailwind CSS - Styling
- Node.js 18+ installed
cd snowfall-app
npm installnpm run devOpen http://localhost:5173 in your browser.
npm run buildThe built files will be in the dist directory.
- Push this repository to GitHub
- Connect the repository to Cloudflare Pages
- Configure build settings:
- Build command:
npm run build - Build output directory:
dist - Node.js version: 18 (or newer)
- Build command:
- Open-Meteo - Weather data (free, no API key required)
- Nominatim - Reverse geocoding for location names