CLIMATE CHANGE
# ClimateSmart Kenya — Production Starter
A Next.js + Tailwind + Supabase starter for:
- Real AI soil intelligence
- AI county crop advisor
- Live weather forecasts
- County weather-risk alerts
- Community posts/comments
- Market prices stored with sources and timestamps
- Farming Academy courses/lessons/progress
- Farms and farmer profiles
## Setup
1. Create a Supabase project.
2. Run `supabase/schema.sql` in the Supabase SQL editor.
3. Copy `.env.example` to `.env.local`.
4. Add your Supabase and OpenAI keys.
5. `npm install`
6. `npm run dev`
## Important data-source note
Weather is fetched from Open-Meteo in this starter. Open-Meteo supports current, hourly and daily forecast variables and up to 16 forecast days:
open-meteo.com
Kenya Meteorological Department publishes county forecasts and agro-advisories. For a production system, ingest/verify official KMD products where an official machine-readable feed or permitted integration is available:
meteo.go.ke
Market prices must only be shown as "live" when a verified provider/feed supplies them. Do not use invented prices.
AI is decision support and should not be presented as a substitute for laboratory soil testing or professional agricultural advice.