- Git - Download & Install Git.
- Node.js - Download & Install Node.js and the npm package manager.
git clone {repository URL}
1. npm install (npm modules installing)
2. Download pgAdmin (postrges database). You can change name of db and other credentials in .env file.
3. Install and run Docker if you want run app from it.
-
For running app
from Docker
changePOSTGRES_HOST
value to'host.docker.internal'
in.env
file. -
npm start
Use one of the next commands for build docker images, create and start docker containers:
docker compose up
or
docker-compose up
After starting the app on port (4000 as default) you can open in your browser OpenAPI documentation by typing http://localhost:4000/doc/. For more information about OpenAPI/Swagger please visit https://swagger.io/.
After application running open new terminal and enter:
To run all tests without authorization
npm test
To run only one of all test suites (users, boards or tasks)
npm test <suite name>
To run all test with authorization
npm run test:auth
To run only specific test suite with authorization (users, boards or tasks)
npm run test:auth <suite name>
To run load test scenarios
npm run test:load
Generate load test report after scenarios run
npm run artillery:report
If you're using VSCode, you can get a better developer experience from integration with ESLint and Prettier extensions.
npm run lint
Press F5 to debug.
- Execute in: private repository
- Description
- Cross-check criteria
- Execute in: template
- Description
- Cross-check criteria
- Execute in: private repository
- Description
- Cross-check criteria
- Execute in: template
- Description
- Cross-check criteria
- Execute in: template
- Description
- Cross-check criteria
- Execute in: template
- Description
- Cross-check criteria
- Execute in: template
- Description
- Cross-check criteria
- Execute in: template
- Description
- Cross-check criteria
- Execute in: template
- Description
- Cross-check criteria
For more information, visit: https://code.visualstudio.com/docs/editor/debugging