Run Nestjs Microservices in Docker Container with Postgresql Database

Поділитися
Вставка
  • Опубліковано 1 чер 2024
  • 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 github.com/codeonedigest/Nest...
    #nestjstutorial #dockertutorial #postgresql
    ** Previous Video Tutorial **
    Nestjs Mongo Database Microservice Project Tutorial for Beginners • Nestjs Mongo Database ...
    ** Nestjs Farmwork Complete Tutorial Playlist **
    • Nestjs Complete Tutori...
    ** TypeScript Complete Tutorial Playlist **
    • Typescript Introductio...
    ** GIT Repository **
    github.com/codeonedigest/Nest...
    ** CHECK OUT OUR OTHER VIDEOS **
    Shopify Ecommerce & Retail POS tutorial for Commerce Developer • Shopify Commerce & Ret...
    Create AWS EC2 Instance and Run Springboot Microservice and MongoDB in EC2 Server
    • AWS EC2 Instance Setup...
    Introduction to Salesforce Commerce Cloud • Introduction to Salesf...
    Kubernetes Tutorial for Beginners • Kubernetes Cluster Tut...
    Kubernetes Architecture Component & Cluster • Kubernetes Master & Wo...
    Kubernetes Node Affinity Taints & Tolerations • Kubernetes Node Affini...
    Why Python is Number1 language • Why Python Programming...
    What is Python function? • What is Python Functio...
    ** CHECK OUR PLAYLISTS **
    Shopify Ecommerce & Retail POS playlist • Shopify SAAS based Com...
    AWS Cloud and Docker Containers Complete Tutorial
    • Cloud & Container Tuto...
    ** 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 **
    codeonedigest.wordpress.com/
    ** GET IN TOUCH **
    Contact us on codeonedigest@gmail.com
  • Наука та технологія

КОМЕНТАРІ • 1

  • @codeonedigest
    @codeonedigest  4 місяці тому

    Full Video Link - ua-cam.com/video/HPvpxzagsNg/v-deo.html
    Check out this new video about Running Nesjs Microservices in Docker Container with Postgresql DB on the CodeOneDigest UA-cam channel! Learn to setup nestjs project with dependencies. Learn to create docker image of nestjs project. Learn to connect nestjs application with postgresql database. #postgresql #nestjs #docker #dockerfile #microservices #codeonedigest
    @nestframework @nodejs @typescript @Docker @PostgreSQL @typeormjs @JavaScript @dotenvx @npmjs @vscodetips @getpostman