Reimagining Healthy Cities with Space Data
A cutting-edge environmental monitoring platform that leverages satellite data, artificial intelligence, and community collaboration to provide actionable insights for sustainable urban development across Maharashtra's cities.
- 3D Interactive Earth Visualization - Stunning WebGL-powered 3D Earth with orbital rings and particle effects
- Real-time Environmental Monitoring - Track temperature, air quality, and vegetation across 34 Maharashtra cities
- AI-Powered Insights - GPT-powered environmental analysis and predictive recommendations
- Advanced Filtering System - Multi-criteria search by temperature, AQI, NDVI, and price ranges
- Responsive Dashboard - Beautiful glass-morphism design with smooth animations
- Line Charts - Temperature trends and historical data
- Bar Charts - Air Quality Index comparisons across cities
- Pie Charts - Environmental risk factor analysis
- Real-time Statistics - Live environmental metrics and alerts
- Contextual Chat Assistant - Ask questions about environmental data
- Predictive Analytics - Heat wave predictions and trend analysis
- Smart Recommendations - Data-driven urban planning insights
- Automated Insights Generation - AI-powered environmental reports
- Node.js 18.x or higher
- MongoDB 5.x or higher
- OpenAI API Key (for AI features)
- Git for version control
-
Clone the repository
git clone <your-repo-url> cd ecoverse-dashboard
-
Install Frontend Dependencies
cd frontend npm install -
Install Backend Dependencies
cd ../backend npm install -
Environment Setup
# Copy environment template cp .env.example .env # Edit .env with your configuration nano .env
-
Configure Environment Variables
# Backend (.env) PORT=5000 MONGODB_URI=mongodb://localhost:27017/ecoverse JWT_SECRET=your-super-secret-jwt-key OPENAI_API_KEY=your-openai-api-key
-
Start Development Servers
# Terminal 1 - Backend cd backend npm run dev # Terminal 2 - Frontend cd frontend npm start
-
Access the Application
- Frontend: http://localhost:3000
- Backend API: http://localhost:5000/api/health
ecoverse-dashboard/
βββ frontend/ # React TypeScript frontend
β βββ src/
β β βββ components/ # React components
β β β βββ MainDashboard.tsx
β β β βββ FilterPanel.tsx
β β β βββ InsightsPage.tsx
β β β βββ AboutPage.tsx
β β βββ App.tsx # Main app with 3D Earth
β β βββ index.css # Tailwind CSS styles
β βββ public/ # Static assets
β βββ package.json # Frontend dependencies
βββ backend/ # Node.js Express backend
β βββ server.js # Main server file
β βββ .env.example # Environment template
β βββ package.json # Backend dependencies
βββ shared/ # Shared utilities
βββ README.md # This file
{
name: "Mumbai",
state: "Maharashtra",
region: "Konkan",
coordinates: { lat: 19.0760, lng: 72.8777 },
data: {
temperature: 31.9,
aqi: 161,
ndvi: 0.26,
population: "12.4M",
risk: "high"
},
lastUpdated: Date
}{
email: "user@example.com",
password: "hashed_password",
name: "John Doe",
role: "citizen", // citizen, planner, leader, researcher
city: "Mumbai",
createdAt: Date
}POST /api/auth/register- User registrationPOST /api/auth/login- User login
GET /api/cities- Get all citiesGET /api/cities/:name- Get specific city dataGET /api/environmental/dashboard- Dashboard statisticsPOST /api/cities/filter- Filter cities by criteria
POST /api/ai/chat- Chat with AI assistantGET /api/ai/insights- Get AI-generated insights
- React 18 with TypeScript
- Three.js for 3D visualization
- Framer Motion for animations
- Tailwind CSS for styling
- Recharts for data visualization
- Lucide React for icons
- Node.js with Express
- MongoDB with Mongoose
- OpenAI GPT integration
- JWT authentication
- bcryptjs for security
- Nodemon for development
- CORS for cross-origin requests
- Helmet for security
- Morgan for logging
The centerpiece is an interactive 3D Earth built with Three.js featuring:
- Rotating Earth sphere with distortion material
- Green orbital rings representing environmental monitoring
- Particle effects for atmospheric ambiance
- Smooth camera controls with auto-rotation
Comprehensive monitoring includes:
- 34 Maharashtra Cities with real-time data
- Temperature mapping with heat island detection
- Air Quality Index tracking and alerts
- Vegetation Index (NDVI) monitoring
- Risk assessment with color-coded alerts
Multi-criteria filtering system:
- Temperature Range - Find cities within specific temperature ranges
- Air Quality Index - Filter by pollution levels
- Vegetation Index - Search by green cover density
- Price Range - Property price-based filtering
- Regional Filtering - Maharashtra regions (Konkan, Western, etc.)
GPT-powered environmental intelligence:
- Contextual responses about environmental data
- Predictive analytics for weather and air quality
- Urban planning recommendations
- Trend analysis and insights generation
# Frontend tests
cd frontend && npm test
# Backend tests
cd backend && npm test# Build frontend
cd frontend && npm run build
# Start production backend
cd backend && npm start- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open a Pull Request
- β 3D Earth visualization
- β Environmental dashboard
- β AI chat integration
- β City filtering system
- π Real satellite data integration
- π Mobile app development
- π Advanced AI predictions
- π Community features
- π IoT sensor integration
- π Government API connections
- π Machine learning models
- π Policy recommendation engine
- NASA MODIS - Land Surface Temperature and NDVI data
- Ground Sensors - Air quality and weather stations
- Community Reports - Citizen-generated environmental data
- Government APIs - Official environmental monitoring data
- Documentation: Wiki
- Issues: GitHub Issues
- Discord: Community Chat
- Email: support@ecoverse-dashboard.com
This project is licensed under the MIT License - see the LICENSE file for details.
- NASA for MODIS satellite data
- OpenAI for GPT integration
- Three.js community for 3D visualization tools
- Maharashtra Pollution Control Board for environmental data
- Contributors who made this project possible
Built with β€οΈ for a sustainable future π±
Ecoverse Dashboard - Making environmental data accessible, actionable, and beautiful.