Interactive visualization of restrictions on housing in Canadian cities
  • JavaScript 96.4%
  • Svelte 2.4%
  • TypeScript 0.4%
  • Python 0.3%
  • HTML 0.3%
  • Other 0.1%
Find a file
2025-05-14 10:47:12 -07:00
backend setup deployment 2025-04-07 13:33:17 -07:00
frontend add toast package 2025-04-25 19:51:05 -07:00
.gitignore Initial commit 2025-04-04 20:30:13 +00:00
LICENSE Initial commit 2025-04-04 20:30:13 +00:00
podman-compose.yml remove unused libraries 2025-05-14 10:47:12 -07:00
README.md add legend/hint toast 2025-04-25 15:00:50 -07:00

Are Apartments Allowed?

Interactive visualization of restrictions on housing in Canadian cities

Introduction

AAA is a webapp visualizing where you're allowed to build affordable multi-family housing in large Canadian cities. The stack is entirely self-hosted: the backend consists of vector tiles generated from OpenStreetMap data using Tilemaker and served with Martin, and the frontend is written in Svelte using shadcn components and svelte-maplibre.

Deployment

For now, supported deployment is through Podman (Docker should work fine too). Use this compose file to get started:

services:
    apts-frontend:
        image: docker.io/ericdaigle/apartments-frontend:latest
        container_name: apts-frontend
        restart: always
        ports:
            - 80:8080
        environment:
            - BACKEND_DOMAIN=localhost
            - BACKEND_PORT=3000
        depends_on:
            - apts-backend

    apts-backend:
        image: docker.io/ericdaigle/apartments-backend:latest
        container_name: apts-backend
        restart: always
        ports:
            - 3000:3000

podman-compose up -d shoud then bring up the application at port 8080 on localhost.2

Data

City Zoning Dataset Building Dataset Licences
Edmonton Zoning Bylaw Geographical Data 3D Buildings Open Government Licence - Edmonton
Regina Land Use and Zoning Building Outline Open Government Licence - City of Regina