Skip to content

baato/before-after

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Before-after Map Generator

Screenshot 2021-06-06 221025

Technical stack for generating before-after map (with vector tiles), which allows users to understand how map data in OSM has changed over time.

Installation and Setup

  • Clone the repository
  • cp .env.sample .env
  • Make required changes in .env file
  • docker-compose build
  • docker-compose up

Directory Structure

  • Backend: It has all the provisioning scripts and API/Websocket server written in Go.
    • The provisioning instance template is found at "backend/index.html". This is the HTML template file based on which provisioning instance is created.
  • Frontend: It houses the main provisioning interface.

Developing the Backend

  • docker build after making changes
  • docker up to test the changes

Developing the Frontend

  • yarn install inside frontend/src/app
  • yarn serve