Node with TS, mongodb, swagger, used passport BearerStrategy (auth server "oauth2-server"), Docker example
https://github.com/ptitsynamv/oauth2-server
project for authorization with Oauth2.npm install
.npm start
.Run npm run build
. Project will be created in /build
directory.
Error: address already in use :::3000
can be solved with:lsof -wni tcp:3000
kill {id}
yarn docker:build
yarn docker:run
npm install
npm run build
pm2 start build/index.js --name data-server
.