Nestjs Mongo Database Microservice Project Tutorial for Beginners

codeonedigest
codeonedigest
415 بار بازدید - 6 ماه پیش - In This tutorial we will
In This tutorial we will learn how to create microservices in Nestjs framework with Mongo database as backend storage. Using mongoose ORM to connect Nestjs application with mongo database. Step by step guide to setup Nestjs project.  Coding controller, provider, module, repository, entity, schema and dto classes. Running & testing the application using postman api tool.

** CHAPTER **
0:00 Welcome to Nestjs Mongo DB Microservice Project
1:47 Agenda of the Tutorial
2:21 Prerequisite of the project
2:53 Project Architecture Diagram
3:19 Nestjs Project setup
5:11 Import Project in VSCode
6:39 Install Mongoose Module Dependencies
7:36 Create Mongo DB Connection
8:40 Create Student Schema File
10:12 Create Student Controller and Service Classes
11:33 Create Student DTO Class
13:08 Add Business logic in Student Service Class
14:41 Update App Module to import required modules
15:04 Create GET and POST endpoints in Student Controller
17:58 Running Nestjs Mongodb application
18:25 Testing student endpoints in postman tool
21:20 GIT Repository of Nestjs Project

#nestjs #nestjstutorial #mongodb

** 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.

** Mongoose ORM **
Mongoose is a Node js based Object Data Modeling (ODM) library for MongoDB. It is an Object Relational Mapper (ORM) for traditional SQL databases. Mongoose allows to enforce a specific schema at the application layer. Mongoose manages relationships between data, provides schema validation, and is used to translate between objects in code and the representation of those objects in MongoDB.

** Mongo Database **
MongoDB database is to store unstructured data, and it provides full indexing support, and replication with rich and intuitive APIs. MongoDB architecture is made up of collections and documents. Documents are made up of Key-value pairs. Collections contain document sets.

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

#nestjs

** Previous Video Tutorial **
Nestjs MVC Project Tutorial for JavaScript Beginners| Model View Controller Video

** 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...
Salesforce commerce cloud SFCC B2B B2C SFMC Capabilities Salesforce Commerce Cloud | SFCC | B2...
CodeOneDigest Learning Shorts
COD Shorts - Java Python Nodejs AWS C...
Kubernetes Cluster Architecture Master & Worker Node Tutorial  Kubernetes Cluster Architecture | Mas...
Complete Python Learning Tutorial Playlist
Python Programming Language | The Com...
Spring Boot Complete Tutorial Spring Boot Tutorial with Project Set...

** 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/09 منتشر شده است.
415 بـار بازدید شده
... بیشتر