# 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.