A Vite + React weather dashboard for farmers, designed to look like the Smart Farmer app.
- Real-time Weather: Displays Temperature, Condition, Humidity, Rainfall, Wind.
- Soil Health: Monitoring Moisture and pH.
- Crop Health: Tracking Growth Stage and Risk.
- Alerts: Weather warnings and simplified status.
- Action Items: Daily tasks for the farmer.
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
The app is set up to use the following APIs. providing a unified interface:
- OpenWeatherMap
- WeatherAPI
- StormGlass
To enable real data, edit src/services/weatherService.js and add your API keys:
const API_KEYS = {
OPEN_WEATHER: 'YOUR_KEY_HERE',
WEATHER_API: 'YOUR_KEY_HERE',
STORM_GLASS: 'YOUR_KEY_HERE'
};Currently, it returns Mock Data matching the requested design if keys are missing.