Skip to content
Snippets Groups Projects

Data on a Map App

Deck GL / Mapbox GL / React App for various Smart Citizens Lab projects (Hollandse Luchten / MUV).

Git module

This repository is should be used as git module in other repositories that hold specific config for the app

git submodule add https://git.waag.org/alain/data-on-a-map-app.git data-on-a-map-app

Config files

App as submodule expects config files in ../config.

File structure

data-on-a-map-app
|
└─── /build (after compilation)
|    |  [compiled files to serve to client]
|
└─── /config
|    |  [all kinds of configurations]
|
└─── /node_modules (after install)
|    |  [all installed node packages]
|
└─── /public
|    |  [public files to serve to client]
|
└─── /src (source files, before compilation)
|    └─── css
|    |    |  [all stylesheets]
|    |
|    └─── DeckLayers
|    |    |  [map layer files]
|    |
|    └─── Icons
|    |    |  [SVG icons]
|    |
|    └─── Map
|    |    |  [all map components except layers]
|    |
|    └─── Modal
|    |    |  [everything related to the pop-up modals with graphs]
|    |
|    └─── Page
|    |    |  [page setup and charts]
|    |
|    └─── Panels
|    |    |  [Panel and legend components]
|    |
|    └─── util
|    |    |  [helper functions]
|    |
|    | actions.js
|    | index.js
|    | reducers.js
|
| [package and git files]
| README.md (this file)