date: 2020-08-08 title: ‘Nestjs Microservices with 12 Factor App’ template: post thumbnail: ‘../thumbnails/nestjs.png’ slug: nestjs-microservices-12-factor-app categories:
- nestjs
- nodejs
- es6 tags:
- javascript
- microservices
- nodejs
Nestjs Microservices with 12 Factor App

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 will add setup for CI/CD Using CI/CD we will deploy application to heroku with postgres
Please checkout this playlist which covers all aspects of 12 factor app in context of Nestjs simple microservice.