A sophisticated GIS-driven platform for interactive visualization of Nigeria's states, local governments, and real-time insights.
Clarion State Map project is designed to provide a highly interactive and performance-optimized mapping experience. It bridges complex geographic data (GeoJSON) with a modern, responsive frontend, allowing users to explore regional data with ease.
The project is structured as a monorepo containing two main components:
/frontend: A modern React application built with TypeScript and Vite. It features interactive SVG maps, dynamic state cards, and a premium editorial-style UI./backend: A Python-based FastAPI service responsible for GIS processing, GeoJSON extraction, and serving optimized spatial data.
- Node.js (v18 or higher)
- npm or yarn
- Python 3.10+
- pip
cd backend
python -m venv .venv
source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
pip install -r requirements.txt
python main.pycd frontend
npm install
npm run devThe application will be available at http://localhost:5173.
clarion_state_map/
├── backend/ # FastAPI GIS Engine
│ ├── data/ # Processed GeoJSON & SVG data
│ ├── generators/ # Geometry processing logic
│ └── main.py # Entry point
├── frontend/ # React + TS + Vite App
│ ├── src/
│ │ ├── components/ # Reusable UI components
│ │ ├── pages/ # Application views
│ │ └── styles/ # Design tokens & CSS
│ └── package.json
└── README.md # You are here
- Frontend: React 19, TypeScript, Vite, Tailwind CSS, React Router.
- Backend: FastAPI, GeoPandas/Shapely (for GIS), Uvicorn.
- Design: Custom CSS-in-JS patterns, premium typography, and dynamic micro-animations.
Built with ❤️.