VayuDrishti is a full-stack air quality and weather monitoring application. It provides real-time AQI, weather data, forecasts, and health alerts for multiple cities.
aqi-backend/— Node.js/Express backend for AQI, weather, and alert APIsclient/— React + Vite + Tailwind frontend for the dashboard UI
- Node.js (v18+ recommended)
- npm
cd aqi-backend
npm installCreate a .env file in aqi-backend/ (see .env.example for required variables):
- Firebase Admin SDK credentials (as individual env vars)
- Supabase project URL and API key
- OpenWeatherMap API key
node index.jsThe server runs on http://localhost:5000
- Node.js (v18+ recommended)
- npm
cd client
npm installnpm run devThe app runs on http://localhost:5173 by default.
- Backend: See
aqi-backend/.env.examplefor required variables. - Frontend: No environment variables required by default.
- Frontend: React, Vite, Tailwind CSS, Radix UI, Lucide Icons, Framer Motion
- Backend: Node.js, Express, Supabase, Firebase Admin, OpenWeatherMap API, OpenAQ API
- Real-time AQI and weather data for multiple cities
- Interactive AQI map visualization
- Historical AQI and weather trends with charts
- Short-term AQI forecasting using machine learning
- Health advisories and personalized alerts based on AQI levels
- Push notifications for health alerts (via Firebase Cloud Messaging)
- Responsive, mobile-friendly dashboard UI
- City search and selection for personalized data
- Pollutant breakdown and detailed pollutant cards
- Customizable settings for notifications and user preferences
node index.js— Start the backend server
npm run dev— Start the frontend dev servernpm run build— Build the frontend for productionnpm run preview— Preview the production build
MIT
VayuDrishti Team