Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

Neoklosch/db-api-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Deutsche Bahn API Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published