При первом запуске "docker compose up" создаются сущности. После создания сущностей, надо остановить сервер и снова запустить и тогда можно будет уже спокойно работать со всеми созданными сущностями.
Use "docker pull artywork/my-app:v3" for downloading my image.
Use "docker compose up" for uping this image.
Use "docker compose down" for downing this image.
Use "docker image tag course-node-js-2021q2_my-app artywork/my-app:anyTag" for preparing new image.
Use "docker image push artywork/my-app:anyTag" for pushing new image.
- Git - Download & Install Git.
- Node.js - Download & Install Node.js and the npm package manager.
git clone {repository URL}
npm install
npm start
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>
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.
For more information, visit: https://code.visualstudio.com/docs/editor/debugging