/shared-server

Tallerify Shared Server

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Shared Server

Build Status codecov

Installation

With Docker and Docker Compose

  1. Install Docker and Docker Compose
  2. Run $ docker-compose up --build
  3. Go to http://localhost:3000/

Without Docker

Install depenencies

  1. Install postgres:
  • $ sudo apt-get update
  • $ sudo apt-get install postgresql postgresql-contrib
  1. Create database (replace dbname with used database):
  • $ psql -U postgres -h localhost
  • $ postgres=# CREATE DATABASE dbname;
  1. Install the node packages via:
  • $ npm install

Start

To start the application (server and client) run:

  • npm start

Test

For running the test suit run:

  • npm test

Documentation