DEV Community

loading...

Nest JS Microservice || 12 Factor App

tarun
Hi, Iā€™m Tarun.šŸ˜ŽI help people to make a better world by good apps I am Publisher, Trainer Developer, working on Enterprise and open source Technologies JavaScript frameworks (React Angular)
惻1 min read

nestjs microservices

Apply 12 Factor App principles on NestJS Microservice

Playlist Link : https://www.youtube.com/watch?v=kROllv22WHw&list=PLIGDNOJWiL18srI6BmFLfwDPvorTmyQ_c

In this playlist we will talking about microservices development with 12 factor app
https://github.com/tkssharma/12-facto...
We are using nestjs

  • we will build nestjs app from zero
  • we will make nestjs app having everything setup
  • docker with nestjs and test setup with jest
  • linting using eslint
  • migration with typeorm
  • postgres database with nestjs/typeorm
  • security of apis
  • health check of apis
  • monitoring and log trace for apis
  • managing env configurations
  • managing deployment with graceful shutdown
  • managing CI pipeline for application

Once we are done with basic setup with all above
we will 12 factor principles to this application
I. Codebase
II. Dependencies
III. Config
IV. Backing services
V. Build, release, run
VI. Processes
VII. Port binding
VIII. Concurrency

We are writing test cases unit and integration and wil setup CI/CD
to deploy application to heroku with postgres

Discussion (0)