Reports editing activity of the Mapbox Data Team on OpenStreetMap.
- To setup
osm-edit-report
make sure you havenode
andnpm
installed. - clone the repository and run
npm install
. - run
npm start
to run the application in dev mode.(Note: this will automatically open a browser for you)
- To deploy changes make sure you first commit.
- run
npm deploy
to deploy onhey-pages
- run
npm run deploy-mb
to deploy it onmb-pages
(aka mapbox.com).
This project makes use of react, redux and ramda . It hits the osm-comments-api/stats end point for the data.
Few things to note.
- The codebase doesn't hit the api for
user
filtering. It does it on the front-end. - The codebase also doesn't hit the api for
tags
filtering and does the filtering itself. - It relies on http code
304
for caching identical requests.