[go: up one dir, main page]

Skip to content

ylinzhi/osm-edit-report

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSM Edit Report

Reports editing activity of the Mapbox Data Team on OpenStreetMap.

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, 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.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.2%
  • CSS 1.8%
  • HTML 1.0%