Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mapbox/osm-edit-report
Editing activity on OSM - https://www.mapbox.com/osm-edit-report/
https://github.com/mapbox/osm-edit-report
banished
Last synced: 3 months ago
JSON representation
Editing activity on OSM - https://www.mapbox.com/osm-edit-report/
- Host: GitHub
- URL: https://github.com/mapbox/osm-edit-report
- Owner: mapbox
- Created: 2017-02-17T06:32:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-28T18:15:48.000Z (about 5 years ago)
- Last Synced: 2024-09-18T15:44:05.644Z (5 months ago)
- Topics: banished
- Language: JavaScript
- Homepage:
- Size: 5.91 MB
- Stars: 3
- Watchers: 91
- Forks: 4
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OSM Edit Report
Reports editing activity of the Mapbox Data Team on [OpenStreetMap](http://www.openstreetmap.org/).
# Setup
- To setup `osm-edit-report` make sure you have `node` and `npm` 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)# Deploying
- To deploy changes make sure you first commit.
- run `npm deploy` to deploy on `hey-pages`
- run `npm run deploy-mb` to deploy it on `mb-pages` (aka mapbox.com).# API and architecture
This project makes use of [react](https://facebook.github.io/react/), [redux](http://redux.js.org/docs/basics/UsageWithReact.html) and [ramda](http://ramdajs.com) . It hits the [osm-comments-api/stats](https://github.com/mapbox/osm-comments-api/blob/master/API.md) 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.