Skip to content

API server for non linked connections data for tripscore.eu

License

Notifications You must be signed in to change notification settings

oSoc17/oasis-backend

Repository files navigation

Tripscore server by the OASIS team

Server

Server written with Node.js, express using SQLite as a database engine. Mainly used to gather and provide station data.

About

Together, Ghent and the region of Madrid have initiated an innovative action that will increase the accessibility of public services and public transport. To do this, they will collaborate to publish linked open data. Both cities are experienced publishers of open data, and together they will prove that new technologies (such as the “Semantic Web”) can lead to economies of scale, such as the creation of cross-country applications.

The proof of concept is a small app in which a user can fill in the route he usually takes to work/home. The product will show the quality of experience of the trip, compared to trains that depart earlier or later, within a predefined timespan. The applications uses linked open data from the iRail API, combined with historical data.

Installation

Requirements (Recommended)

  • Node.JS (^v7.x.x)
  • npm (^v3.x.x)

Commands

To install all dependencies (required before running any of the other commands).

$ npm install

Start the server.

$ npm start

Run the server

After testing the server if everything is working fine, you can run the run.sh script (Make sure you set the file permissions to runnable)

We do not recommend running this server standalone without a proxy like nginx in front of it. We also recommend PM2 for uptime and multiple node server apps management.

chmod +x ./run.sh
./run.sh

Releases

No releases published

Packages

No packages published