Skip to content

planarnetwork/one-way-api

Repository files navigation

one-way-api

Travis npm David

This API makes use of the Raptor journey planner to provide an endpoint for the one-way.to front end.

Installation

Please note that node 10.x or above are required.

sudo apt-get install nodejs
npm install one-way-api

Usage

It can be run by specifying the GTFS dataset as an ENV option:

GTFS=data/output.zip npm start

or using docker:

./docker-run.sh

Contributing

Issues and PRs are very welcome. To get the project set up run

git clone git@github.com:planarnetwork/one-way-api
npm install --dev
npm test

If you would like to send a pull request please write your contribution in TypeScript and if possible, add a test.

License

This software is licensed under GNU GPLv3.

Location data sourced from geonames.