Hyperlocal Climate Intelligence Platform for Nigerian Farmers
# ClimateGuard Nigeria 🌦️
**Hyperlocal Climate Intelligence & Early Warning Platform**
A professional, full-stack web application providing location-specific weather forecasts, disease tracking, farm security, and actionable insights for Nigerian farmers, insurers, disaster managers, and logistics operators.
## 🌐 Live Deployment
- **Backend API**:
climateguard-api.onrender.c…
- **API Health**:
climateguard-api.onrender.c…
- **GitHub Repository**:
github.com
---
## 🚀 Features
### Core Capabilities
- **Hyperlocal Weather Forecasts**: Real-time weather data with 24-hour predictions
- **Smart Farming Recommendations**: AI-driven advice on planting, irrigation, and harvesting
- **Disease Outbreak Tracking**: Monitor and prevent crop diseases with interactive maps
- **Farm Security System**: Report incidents, access emergency contacts, and security tips
- **Real-time Alerts**: Weather warnings, disease alerts, and security notifications
- **Mobile Responsive**: Works seamlessly on phones, tablets, and desktops
### Technology Stack
- **Frontend**: React 18 + Tailwind CSS + Leaflet Maps
- **Backend**: Node.js + Express
- **Database**: SQLite (easily upgradeable to PostgreSQL)
- **Weather API**: OpenWeatherMap (free tier)
- **Authentication**: JWT-based secure auth
- **Charts**: Recharts for data visualization
---
## 📦 Installation
### Prerequisites
- Node.js 16+ and npm
- Git
### Quick Start
1. **Clone the repository**
```bash
git clone
cd climateguard-nigeria
```
2. **Install dependencies**
```bash
# Install backend dependencies
cd backend
npm install
# Install frontend dependencies
cd ../frontend
npm install
```
3. **Configure environment variables**
```bash
# In backend folder, copy .env.example to .env
cd backend
copy .env.example .env
```
Edit `backend/.env` and add your OpenWeatherMap API key:
```env
PORT=5000
JWT_SECRET=your-super-secret-jwt-key-change-this
OPENWEATHER_API_KEY=your-ap …