SkySense is a predictive weather intelligence tool. It combines real-time OpenWeatherMap data with a custom RandomForest ML model to deliver "Best/Likely/Worst" case scenarios. Designed with a glassmorphic Bento-style dashboard, it offers a premium experience for both casual users and industries like Agriculture and Construction.
- 🌍 Current Weather & 5-Day Forecast (OpenWeatherMap)
- 🤖 ML Predictions (Rain probability, temperature forecasts)
- 📊 Interactive Charts (Hourly trends with Recharts)
- 🎨 Glassmorphic UI (Dark/Light theme toggle)
- ⚡ Fast Development (React 19 + Vite)
View Dark Mode
Dark Mode: High-contrast liquid glass UI for night viewing.
5-Day Forecast: Clean, minimal layout for upcoming weather trends.
cd backend
pip install -r requirements.txt
# Add OPENWEATHER_API_KEY to backend/.env
uvicorn main:app --reload --port 8000cd frontend
npm install
npm run devnpm install -g vercel
vercel --prodRequired Environment Variable:
VITE_OPENWEATHER_KEY(get free at https://openweathermap.org/api)
vercel.json configured for:
- Frontend-only deployment to
/frontend/dist - Framework: null (raw Vite)
- Backend excluded (deploy separately if needed)
SkySense/
├── 🐍 backend/ # FastAPI Application
│ ├── ml_model.py # RandomForest Logic & Scenarios
│ ├── weather_service.py # OpenWeather API Integration
│ └── main.py # REST Endpoints
├── ⚛️ frontend/ # React Application
│ ├── src/components/ # Glassmorphic UI Components
│ ├── src/store/ # Zustand State Stores
│ └── src/lib/ # API Client & Mock Data
└── README.md- React 18 + Vite (Vercel compatible)
- TypeScript
- Tailwind CSS + shadcn/ui
- Zustand (Global State)
- TanStack Query (Server State)
- FastAPI (Python)
- Scikit-Learn (RandomForest Regressor)
- Pandas & NumPy
- OpenWeatherMap API
- Search for a city in the top bar.
- Switch tabs: Overview, Forecast, AI Prediction.
- Enjoy smooth glassmorphism with real-time insights.
- Hyper-local Alerts: Push notifications for sudden weather shifts.
- Satellite Overlays: Mapbox integration for precipitation visualization.
- Historical Trends: Compare current weather with 10-year averages.


