Deutsche Bahn API Server
CSS JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
controllers
data
models
public
test
views
.gitignore
LICENSE
README.md
app.js
package.json
setup.js

README.md

db-api-server

Deutsche Bahn API Server

Prerequisites

  • MongoDB
  • Node.js
  • Command Line Tools
  •  Mac OS X: Xcode (or OS X 10.9 Mavericks: xcode-select --install)
  •  Windows: Visual Studio
  •  Ubuntu /  Linux Mint: sudo apt-get install build-essential
  •  Fedora: sudo dnf groupinstall "Development Tools"
  •  OpenSUSE: sudo zypper install --type pattern devel_basis

Install

Than you only have to execute:

npm install

and also nodemon

npm -g nodemon

Starting

At first you have to start mongodb

mongod

After that you can start the node project himself

npm start

Now you can view your page

http://localhost:3000

Documentation

To parse the data you can enter the parse pages:

http://localhost:3000/parse/

And the documentation for the api calls you view at:

http://localhost:3000/api/