Nestjs framework based jwt authentication.
node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"
# pull
docker pull mongo
#run
docker run --name mongo-container -p 27017:27017 -d mongo
npx @nestjs/cli g co controllers/<controller_name>
npx @nestjs/cli g s services/<service_name>
create and .env file at root dir of project, copy all the contents of sample.env and paste into the .env.
# to install all nessesory dependency
npm install
# development
npm run start
# watch mode
npm run start:dev
# production mode
npm run start:prod