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.

57 lines
982 B

10 years ago
# API
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/pelias/api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
10 years ago
Pelias RESTful API
10 years ago
## Documentation
[API Documentation](https://github.com/pelias/api/tree/master/docs)
10 years ago
## Install Dependencies
```bash
$ 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
```bash
$ npm start
```
### Running Unit Tests
```bash
$ npm run unit
```
### Running Functional Tests
10 years ago
(this requires the server to be running)
10 years ago
```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`
[![Build Status](https://travis-ci.org/pelias/api.png?branch=master)](https://travis-ci.org/pelias/api)