Skip to content

siromivel/brApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brApi #

brApi provides GeoJSON data for brApp(https://github.com/pdubs/brApp).

To run this thing: Set up the database URL in /config/env/development.js

Currently the Master branch is a functioning initial version of the API. It currently supports the following routes:

/trails
returns all trails on the server as a FeatureCollection.

/trails/%trail name%
returns the requested trail as a Feature object, supports spaces.


/location/%place name%
returns all trails from the place(i.e., "winter park") as a FeatureCollection, ordered by the "parkID" of the trail.


/difficulty/%e, i, a or ex%
returns all trails of the specified difficulty as a FeatureCollection.
e = easy(green); i = intermediate(blue); a = advanced(black); ex = extreme(dbl. black);

About

A GeoJSON API built for brApp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published