- Git - Download & Install Git.
- Node.js - Download & Install Node.js and the npm package manager.
- Docker - Download & Install Docker
git clone [email protected]:oibioib/nodejs2023Q2-service.git
cd nodejs2023Q2-service
npm install
Create .env file (based on .env.example): ./.env
npm run docker:compose
Run tests after complete command npm run docker:compose
npm run test:auth
Since docker scan is deprecated, docker scout is used for vulnerabilities scanning.
Run scan after complete command npm run docker:compose
npm run scan:app
npm run scan:postgres
npm run lint
npm run format
After starting the app on port (4000 as default) you can open in your browser OpenAPI documentation by typing http://localhost:4000/doc .
Documentation also available in yaml
http://localhost:4000/doc-yaml and json
http://localhost:4000/doc-json .