This API makes use of the Raptor journey planner to provide an endpoint for the one-way.to front end.
Please note that node 10.x or above are required.
sudo apt-get install nodejs
npm install one-way-api
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
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.
This software is licensed under GNU GPLv3.
Location data sourced from geonames.