Public | Automated Build

Last pushed: 5 months ago
Short Description
The express server for
Full Description


In this repository we will build a visualization of the other teams aggregated data

Running with Docker-Compose


  • Run docker-compose up to start server in development environment
  • The express server is accessible at localhost:3000
  • The elasticsearch server is accessible at localhost:9200
  • Docker volume is mapped to local volume - no need to rebuild for changes


  • Run docker-compose -f docker-compose.yml -f up


Link to the repositories:

Mockup data

Because the later, final database and data schema is not given at the beginning of this project, we defined some mock data and use a simple Elasticsearch setup. It provides a API for fetching data and perform searches.

JSON-REST-API (Some Examples)

Entry point: localhost:9200/

Get a single, specific entry:

GET /composer/external/1
GET /musician/external/101
GET /work/external/1

Search for a composer:

GET /composer/_search?q=Marks

Search across the full dataset:

GET /_search?q=Katell

Search for a composer whose name begins with "Gra":

GET /composer/_search
  "query": {
      "match_phrase_prefix" : {
          "name" : "Gra"

For more information, please read the Elasticsearch documentation.



  • Navigate to express folder
  • Run yarn install to install dependencies


  • Run npm run dev to start server in development environment
  • Run npm run lint before commiting to check code style
  • Run npm run lint-fix to try to automatically fix style errors


  • Run npm install -g forever
  • Run npm run prod to start server in production environment



  • Navigate to react folder
  • Run yarn install to install dependencies


  • Run npm run dev to start webapck server in development environment

Express Integration

  • Run npm run build to compile the react resources and make them available for express
Docker Pull Command

Comments (0)