Run Nestjs Microservices in Docker Container with Postgresql Database

codeonedigest
codeonedigest
1.3 هزار بار بازدید - 6 ماه پیش - In This tutorial we will
In This tutorial we will learn to create microservices in Nestjs framework. Learn to create docker image of Nestjs project.  Learn to run Nestjs Microservices in Docker Container with Postgresql database. Step by step guide to setup Nestjs project. Coding controller, provider, module, repository, entity and dto classes. Prepare Dockerfile for Nestjs project. Building docker image for Nestjs microservices. Running Nestjs project image in docker container. Testing the microservices using postman api tool.

** Nestjs Framework **
NestJS is a progressive Node js framework that helps build server-side applications. Nest extends Node. js frameworks like Express or Fastify adding modular organization and a wide range of other libraries to take care of repetitive tasks. Nestjs provides a modular architecture that allows developers to scale their applications. Nestjs well-structured architecture, TypeScript support, scalability, and a strong community. Choosing NestJS over plain Node. js offers advantages in terms of maintainability, type safety, productivity, and integration options.

** Docker Container, Image & Dockerfile **
Docker containers are packages of software that contain all of the necessary elements to run in any environment. Containers virtualize the operating system and run anywhere, from a private data center to the public cloud or even on a developer's personal laptop.

Docker image contains application code, libraries, tools, dependencies and other files needed to make an application run.

Dockerfile is simply a text-based file with no file extension that contains a script of instructions. Docker uses this script to build a container image.

** Postgresql Database **
Postgresql is highly stable database management system, backed by community development. Postgresql possess high levels of resilience, integrity, and correctness. PostgreSQL is used as the primary data store or data warehouse for many web, mobile, geospatial, and analytics applications.

** CHAPTER **
0:00 Welcome to Nestjs Docker Container Project with Postgresql
2:01 Agenda of the Tutorial
3:17 Project Prerequisite
3:54 Project Architecture Diagram
6:03 Nestjs Project Initialization & setup
9:06 Understanding Nestjs Project Structure & Components
16:01 Generate Controller, Provider & Module Classes
18:29 Postgresql Database Configuration & Connection
21:40 TypeORM Configuration & Setup
28:20 Coding Providers - Business Layer Logic
31:31 Coding Controller Routes & API Endpoints
34:20 Preparing Dockerfile
36:17 Building Docker Image for Nestjs Microservices
38:46 Understand Docker Run Command
40:28 Understand Docker Network Modes
42:01 Running Nestjs Project Image in Docker Container
42:30 Testing Nestjs Microservice Application

** Project Commands **
Refer all commands here https://github.com/codeonedigest/Nest...

#nestjstutorial #dockertutorial #postgresql

** Previous Video Tutorial **
Nestjs Mongo Database Microservice Project Tutorial for Beginners Nestjs Mongo Database Microservice Pr...

** Nestjs Farmwork Complete Tutorial Playlist **
Nestjs Complete Tutorial | Nest JavaS...

** TypeScript Complete Tutorial Playlist **
Typescript Introduction, Installation...

** GIT Repository **
https://github.com/codeonedigest/Nest...


** CHECK OUT OUR OTHER VIDEOS **
Shopify Ecommerce & Retail POS tutorial for Commerce Developer Shopify Commerce & Retail POS Tutoria...
Create AWS EC2 Instance and Run Springboot Microservice and MongoDB in EC2 Server
AWS EC2 Instance Setup and Run Spring...
Introduction to Salesforce Commerce Cloud Introduction to Salesforce Commerce C...
Kubernetes Tutorial for Beginners Kubernetes Cluster Tutorial for Begin...
Kubernetes Architecture Component & Cluster Kubernetes Master & Worker Node Archi...
Kubernetes Node Affinity Taints & Tolerations Kubernetes Node Affinity Taints & Tol...
Why Python is Number1 language Why Python Programming Language is on...
What is Python function? What is Python Function? | Learn Pyth...

** CHECK OUR PLAYLISTS **
Shopify Ecommerce & Retail POS playlist Shopify SAAS based Commerce Platform ...
AWS Cloud and Docker Containers Complete Tutorial
Cloud & Container Tutorial with AWS C...
 

** ABOUT OUR CHANNEL **
CodeOneDigest is a youtube channel for the videos on programming language, cloud and docker container technology in English and Hindi languages.


** OUR WEBSITE **
https://codeonedigest.wordpress.com/

** GET IN TOUCH **
Contact us on [email protected]
6 ماه پیش در تاریخ 1402/10/16 منتشر شده است.
1,315 بـار بازدید شده
... بیشتر