- Git - Download & Install Git.
- Node.js - Download & Install Node.js and the npm package manager.
git clone https://github.com/rishat-se/nodejs2022Q4-service.git
cd nodejs2022Q4-service
git checkout auth-dev
npm install
rename .env.example to .env
npm run docker:build
npm run docker:start
in Docker Desktop App through Container->App Container Name->Terminal run command:
npm run test:auth
or through console:
docker exec <App Container Name or ID> npm run test:auth
After starting the app on port (4000 as default) you can open in your browser OpenAPI documentation in Swagger UI by typing http://localhost:4000/doc/