Logo Lanfrica

tasguard-solution/clarion_state_map

Domain:

geospatialsocioeconomic

Record type:

software
Creator:
tas
Host:
Data Lorry Nigeria is a comprehensive open-data platform aggregating Nigerian socioeconomic, political, and demographic datasets into a single, accessible resource for researchers, journalists, policymakers, and civic technologists. # Clarion State Map πŸ—ΊοΈ A sophisticated GIS-driven platform for interactive visualization of Nigeria's states, local governments, and real-time insights. ## 🌟 Overview 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. ## πŸ—οΈ Architecture 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. ## πŸš€ Getting Started ### Prerequisites - **Node.js** (v18 or higher) - **npm** or **yarn** - **Python 3.10+** - **pip** ### 1. Backend Setup ```bash cd backend python -m venv .venv source .venv/bin/activate # On Windows use `.venv\Scripts\activate` pip install -r requirements.txt python main.py ``` ### 2. Frontend Setup ```bash cd frontend npm install npm run dev ``` The application will be available at `localhost`. ## πŸ“ Repository Structure ```text 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 ``` ## πŸ› οΈ Key Technologies - **Frontend**: React 19, TypeScript, Vite, Tailwind CSS, React Router. - **Backend**: FastAPI, GeoPandas/Shapely (for GIS), Uvicorn. - **Design**: Custom CSS-in-JS patterns, premium typ …