Bilal Catic 094be5d8ab Merge branch 'add-backend-tests' into 'master'
Add backend tests

See merge request saburly/senadibilal/domensis!1
2020-02-18 10:27:33 +00:00
2020-02-18 11:26:54 +01:00
2020-02-14 07:53:18 +01:00
2020-02-18 11:07:51 +01:00

Domensis

Setup

Node.js REST API

Note: execute commands from backend directory

  1. Copy env.template and rename it to .env. Set desired values
  2. Run yarn install. To skip dev dependencies, run yarn install --production. More info : https://classic.yarnpkg.com/en/docs/cli/install/#toc-yarn-install-production-true-false
  3. To start server, run yarn start

Tests

To execute tests, run yarn test. To speed up process, copy .env file to .test.env and set smaller values for export/import times (e.g. 1 second). If .test.env does not exist, values from .env file will be used. If .env. does not exist, default values will be used.

Description
No description provided
Readme 81 KiB
Languages
TypeScript 99.8%
JavaScript 0.2%