Nestjs Microservice Project with Postgresql and TypeORM for JavaScript Developers

Ғылым және технология

In This tutorial we will learn how to create microservices in Nestjs framework with Postgresql database and Typeorm. Step by step guide to setup Nestjs project initialization & setup. Coding controller, provider, module, repository, entity and dto classes. Running & testing the application 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.
** TypeORM **
TypeORM is a traditional ORM which maps tables to model classes. These model classes can be used to generate SQL migrations. Instances of the model classes then provide an interface for CRUD queries to an application at runtime. TypeORM supports the repository design pattern, thus each entity has its own Repository. These repositories can be obtained from the database connection.
** 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 Postgresql TypeORM Project
1:19 Agenda of the Tutorial
2:41 Project Architecture Diagram
3:34 Nestjs Project Initialization & setup
9:49 Understanding Nestjs Project Structure & Components
13:05 Generate Controller, Provider & Module Classes
16:01 Postgresql Database Configuration & Connection
19:12 TypeORM Configuration & Setup
25:52 Coding Providers - Business Layer Logic
29:03 Coding Controller Routes & API Endpoints
31:53 Starting Nestjs Microservice Application
33:01 Testing Nestjs Microsevices API Endpoints
35:51 GIT Repository Reference
** Project Commands **
Refer all commands here github.com/codeonedigest/Nest...
#nestjs #nestjstutorial #nestjsmicroservices
** Previous Video Tutorial **
Nestjs Controller Tutorial with Example for JavaScript Developers
• Nestjs Controller Tuto...
** 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...
Salesforce commerce cloud SFCC B2B B2C SFMC Capabilities • Salesforce Commerce Cl...
CodeOneDigest Learning Shorts
• COD Shorts - Java Pyth...
Kubernetes Cluster Architecture Master & Worker Node Tutorial • Kubernetes Cluster Arc...
Complete Python Learning Tutorial Playlist
• Python Programming Lan...
Spring Boot Complete Tutorial • Spring Boot Tutorial w...
** ABOUT OUR CHANNEL **
CodeOneDigest is a youtube channel for the videos on programming language, cloud and docker container technology in English and Hindi languages.
Check out our channel here:
/ @codeonedigest
Don’t forget to subscribe!
** OUR WEBSITE **
codeonedigest.wordpress.com/
** GET IN TOUCH **
Contact us on codeonedigest@gmail.com

Пікірлер: 7

  • @codeonedigest
    @codeonedigest7 ай бұрын

    Full Video Link - kzread.info/dash/bejne/qZ9_sbpulNTPZLw.html Check out this new video about Nesjs Postgresql TypeORM project on the CodeOneDigest KZread channel! Learn nestjs project setup with dependencies and postgresql database. Create microservices in nestjs framework with typeorm and postgres db. #postgresql #nestjs #typeorm #microservices #api #nodejs #javascript #codeonedigest @java @awscloud @AWSCloudIndia @KZread @codeonedigest #typescript #javascript #nestjs #nestjsmicroservices #nestjstutorial #nest #nestjsmicroservicestutorial #nestjsmicroservicestcp #nestjsmicroservicesproject #nestjsmicroservicespostgres #nestjsmicroservicesarchitecture #nestjsmicroservicesapi #nestjsmicroservicesforbeginners #nestjsmicroservicesbuild&deployascaleablebackend #buildnestjsmicroservices #nestjsmicroservicescourse #nestjsmicroservicesfullcourse #nestjstypeormpostgres #nestjstypeorm #nestjstypeormmigrations

  • @mohammadarbaz0989
    @mohammadarbaz09896 ай бұрын

    Easy to understand nice explanation

  • @codeonedigest

    @codeonedigest

    6 ай бұрын

    Thanks for valuable feedback. Do like share and subscribe our channel to grow codeonedigest family

  • @superleo2999
    @superleo29996 ай бұрын

    The video is usefull but not if you are looking for nestjs microservices approach with TypeORM. This project is not using any Nestjs Microservice, it is standard Nestjs app... :(

  • @codeonedigest

    @codeonedigest

    6 ай бұрын

    Thanks for your valuable feedback. Intent here is to show concepts and db crud operations.

  • @abhaypratapsingh1457
    @abhaypratapsingh14575 ай бұрын

    [Nest] 10352 - 02/01/2024, 10:25:01 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (9)... AggregateError: at internalConnectMultiple (node:net:1116:18) at afterConnectMultiple (node:net:1680:7) [Nest] 10352 - 02/01/2024, 10:25:01 PM ERROR [ExceptionHandler] AggregateError: at internalConnectMultiple (node:net:1116:18) at afterConnectMultiple (node:net:1680:7)[Nest] 10352 - 02/01/2024, 10:25:01 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (9)... getting this error after writing typeormmodule code in app.module .ts and running npm run start:dev

  • @codeonedigest

    @codeonedigest

    5 ай бұрын

    Check ip & port of ur db, make sure postgress accepting connection

Келесі