Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/afrith/election-map-frontend

Interactive map of South African election results visualised in various ways
https://github.com/afrith/election-map-frontend

Last synced: 3 months ago
JSON representation

Interactive map of South African election results visualised in various ways

Awesome Lists containing this project

README

        

This is the frontend code for the election map which is deployed at https://elections.adrianfrith.com/. The repository for the backend is at https://github.com/afrith/election-map-backend.

## Tech stack

* [React](https://reactjs.org/)
* [create-react-app](https://facebook.github.io/create-react-app/)
* [react-md](http://react-md.mlaursen.com/)
* [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js/)
* [react-mapbox-gl](http://alex3165.github.io/react-mapbox-gl/)

## Deploying

You need to deploy an instance of [the backend service](https://github.com/afrith/election-map-backend). Set the variable `REACT_APP_API_ROOT` to the root URL of this service in `.env.development` or `.env.production` as appropriate. To run in development with live code reloading, run `yarn start`. To build a minified production version run `yarn build`.