No description
Find a file
Felix Geyer 6b514ecb72 fix documentation of /journeys/:ref default params
stopovers defaults to false
2019-11-27 20:48:33 +01:00
docs fix documentation of /journeys/:ref default params 2019-11-27 20:48:33 +01:00
lib fix /stations/all 🐛 2018-02-25 00:03:43 +01:00
.dockerignore minor changes 2019-03-27 12:22:48 +01:00
.editorconfig init from vbb-rest 2017-10-24 23:28:12 +02:00
.gitignore cleanup, prepare 2 2018-10-25 21:42:41 +02:00
architecture.svg update hafas-rest-api, architecture diagram 📝 2018-01-09 00:06:53 +01:00
docker-entrypoint.sh let Docker container generate new hafas-client install IDs 🐛 2019-03-27 12:22:44 +01:00
Dockerfile Docker file: fix HOSTNAME env var 🐛 2019-03-27 18:12:03 +01:00
index.js serve docs via HTTP 📝 2019-02-04 16:11:25 +01:00
license.md readme: mention Docker image 📝 2018-10-25 21:19:19 +02:00
package.json serve docs via HTTP 📝 2019-02-04 16:11:25 +01:00
readme.md minor docs fixes 📝 2019-08-07 23:21:12 +02:00

db-rest

A clean REST API wrapping around the Deutsche Bahn API.

API Documentation | Why?

db-rest architecture diagram

Docker build status dependency status ISC-licensed gitter channel support me on Patreon

installing & running

via Docker

A Docker image is available as derhuerst/db-rest.

docker run -d -p 3000:3000 derhuerst/db-rest

manually

git clone https://github.com/derhuerst/db-rest.git
cd db-rest
git checkout 2
npm install --production
npm start

To keep the API running permanently, use tools like forever or systemd.

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.