- Node.js (v16 or higher)
- npm or yarn
- MongoDB (local or Atlas)
cd backend
npm installcd ../frontend
npm installCreate .env file in backend directory:
GEE_API_KEY=your_gee_api_key
NASA_API_KEY=your_nasa_api_key
OPENWEATHERMAP_API_KEY=your_openweathermap_api_key
MONGODB_URI=mongodb://localhost:27017/ecowatch
PORT=5000
Backend:
cd backend
npm run devFrontend:
cd frontend
npm start- Visit Google Earth Engine
- Sign up for access
- Generate API key
- Add to
.envfile
- Visit OpenWeatherMap
- Create free account
- Generate API key
- Add to
.envfile
- Visit NASA APIs
- Generate API key
- Add to
.envfile
✅ Dashboard Overview
- Real-time forest metrics
- NDVI trend visualization
- Anomaly detection alerts
✅ Interactive Map
- Deforestation zones visualization
- Severity-based color coding
- Zone details on click
✅ API Integration
- Mock Google Earth Engine data
- Weather data integration
- Forest health metrics
✅ Futuristic UI
- Dark theme with neon accents
- Smooth animations with Framer Motion
- Responsive design
- Real API Integration: Replace mock data with actual GEE APIs
- Authentication: Implement JWT-based user authentication
- Machine Learning: Add predictive analytics for deforestation
- Real-time Updates: Implement WebSocket for live data
- Mobile App: Create React Native companion app
Port Issues: Change PORT in .env if 5000 is occupied
CORS Errors: Ensure backend is running before frontend
Map Not Loading: Check internet connection for tile layers