# NaijaPulse — Nigeria Economy Dashboard
A live dashboard tracking three numbers that matter to everyday life in Nigeria: the Naira exchange rate, petrol pump prices, and the inflation rate.
## Stack
- React + TypeScript + Tailwind CSS
- Recharts for data visualization
- No backend needed — fully client-side
## Data sources
- **Exchange rates**: live, fetched client-side from fawazahmed0/currency-api — free, no API key, updated daily, includes historical rates by date.
- **Fuel prices**: curated monthly dataset (`src/data/fuel.ts`) compiled from NNPC and Dangote Refinery pricing announcements and Nigerian business news (Punch, Guardian, Legit.ng). No live official API exists for this, so it's manually maintained.
- **Inflation**: curated monthly dataset (`src/data/inflation.ts`) sourced from the National Bureau of Statistics (NBS) Consumer Price Index reports.
## Running locally
```
npm install
npm run dev
```
## Deploying
No environment variables or backend needed — this is a fully static site.
1. Push to GitHub
2. Import into Vercel
3. Deploy (auto-detected as Vite)
## Updating the curated datasets
Fuel and inflation data need periodic manual updates since there's no live API for them in Nigeria. Just add a new entry to the arrays in `src/data/fuel.ts` and `src/data/inflation.ts`.