mirror of https://github.com/pelias/api.git
1 changed files with 55 additions and 0 deletions
@ -0,0 +1,55 @@
|
||||
# API |
||||
|
||||
Pelias RESTful API |
||||
|
||||
## Install Dependencies |
||||
|
||||
```bash |
||||
$ npm install |
||||
``` |
||||
|
||||
## Documentation |
||||
|
||||
Documentation is provided as [generated markdown](https://github.com/pelias/api/tree/master/docs): |
||||
|
||||
## 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 |
||||
|
||||
```bash |
||||
$ npm start |
||||
``` |
||||
|
||||
### Running Unit Tests |
||||
|
||||
```bash |
||||
$ npm run unit |
||||
``` |
||||
|
||||
### Running Functional Tests |
||||
|
||||
```bash |
||||
$ npm run ciao |
||||
``` |
||||
|
||||
### Running All Tests |
||||
|
||||
```bash |
||||
$ npm test |
||||
``` |
||||
|
||||
### Generate API Documentation |
||||
|
||||
```bash |
||||
$ npm run docs |
||||
``` |
||||
|
||||
### Continuous Integration |
||||
|
||||
Travis tests every release against node version `0.10` |
||||
|
||||
[](https://travis-ci.org/pelias/api) |
Loading…
Reference in new issue