Public | Automated Build

Last pushed: 4 months ago
Short Description
The Canteen Backend Application
Full Description

Steak Server

This server is an intermediary between the Database and the frontends. It exposes APIs to the clients and is placed in our Intranet.
It will be secured through the global OC API Gateway and communicate with it through an API key.
The API is defined with Swagger and then auto generated.


  1. npm install -g typings typescript nodemon
  2. run npm install


To run the server, go to steak-server directory and run:

  1. npm run tsc:watch # to build the typescript files into javascript files
  2. npm run serve # to run the server and rerun it on every change
npm start

Be sure, the Oracle-DB is also started (It's installed as a Windows-Service).

To view the Swagger UI interface:

open http://localhost:8080/docs

Run with Docker

Take a look at the docker-compose.yml and create a docker-compose.override.yml if you want to change something. In the projectfolder then run:
docker-compose up

or run in background:
docker-compose build then docker-compose start

The API is available at (at this time, not the finally version):

'xxx' have to be replaced by the correct path. The API-Key have to be transfered via the HTTP-Header-Field api_key, the username as GET-Parameter.

Notes about Swagger

  • This server was generated by the swagger-codegen project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.
  • This project leverages the mega-awesome swagger-tools middleware which does most all the work.
Docker Pull Command
Source Repository