Skip to content
chigwellPublic

About

UrbanFlux is an interactive London urban planning tool for drawing zones, estimating population from Census LSOA intersections, and exploring regeneration scenarios with live controls and impact metrics.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

185 Commits

Folders and files

Repository files navigation

UrbanFlux

GitHub CI License: MIT

UrbanFlux is a Next.js CityTwin map frontend with a FastAPI backend.

UrbanFlux CityTwin demo

Live URLs

Warning

The hosted backend at https://api.urbanflux.london/ was turned off after the hackathon, so API-backed features may be unavailable unless you run the backend locally.

Borough assignment model

The borough assignment model is hosted on Hugging Face:

The model was fine-tuned to identify which London borough a CSV row is about. It uses the unstructured text description of the source together with the CSV headers and row values to infer the borough name.

Structure

frontend/   Next.js CityTwin map app
backend/    FastAPI API
.github/    GitHub Actions deployment

Local development

Frontend:

cd frontend
npm install
npm run dev

Backend:

cd backend
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload --host 0.0.0.0 --port 8000

Deployment

Pushes to main run .github/workflows/deploy.yml.

  • Frontend deploys to Cloudflare Pages project urbanflux.
  • Backend CI and VPS deployment are disabled because the hosted backend was turned off after the hackathon.

Detailed notes:

  • frontend/README.md
  • backend/README.md

Contributors

UrbanFlux

About

UrbanFlux is an interactive London urban planning tool for drawing zones, estimating population from Census LSOA intersections, and exploring regeneration scenarios with live controls and impact metrics.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Contributors

Languages