You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Peter Johnson a52bec60b7 Merge branch 'master' of github.com:pelias/api into precision 10 years ago
controller suggest_near_me to /suggest/nearby and suggest_near_me.js to suggest_nearby.js 10 years ago
docs Documentation and some ciao tests 10 years ago
helper display all admin fields 10 years ago
middleware delete search middleware 10 years ago
query consolidating suggest_poi and suggest_admin into one suggest endpoint. fixing tests (more tests to come) 10 years ago
sanitiser take the first occurence of delim and compute id and type accordingly. This works with the case when the id has the delim character in it. 10 years ago
service suggest service 10 years ago
src refactor/ add more tests 10 years ago
test Documentation and some ciao tests 10 years ago
.gitignore current dev branch 10 years ago
.travis.yml drop node 11 from travis 10 years ago
README.md readme 10 years ago
app.js suggest_near_me to /suggest/nearby and suggest_near_me.js to suggest_nearby.js 10 years ago
index.js Merge branch 'master' into search 10 years ago
package.json using async (parallel) 10 years ago

README.md

API

Pelias RESTful API

Documentation

API Documentation

Install Dependencies

$ npm install

Contributing

Please fork and pull request against upstream master on a feature branch.

Pretty please; provide unit tests and script fixtures in the test directory.

Start Server

$ npm start

Running Unit Tests

$ npm run unit

Running Functional Tests

(this requires the server to be running)

$ npm run ciao

Running All Tests

$ npm test

Generate API Documentation

$ npm run docs

Continuous Integration

Travis tests every release against node version 0.10

Build Status