Nestjs Mongo Database Microservice Project Tutorial for Beginners

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

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 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 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.
** OUR WEBSITE **
codeonedigest.wordpress.com/
** GET IN TOUCH **
Contact us on codeonedigest@gmail.com

Пікірлер: 6

  • @user-iw8vm2hy9e
    @user-iw8vm2hy9e6 ай бұрын

    One of the best quality content I've ever came across. Keep the good work up brother. Hope u get more engagement on your channel ♥

  • @codeonedigest

    @codeonedigest

    6 ай бұрын

    thanks for your valuable feedback. Do like share & subscribe our channel to grow codeonedigest family. thankyou!!

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

    Full Video Link - kzread.info/dash/bejne/nqGjmtByh9jQlLQ.html Check out this new video about Nestjs mongo db microservice project on the CodeOneDigest KZread channel! Learn nestjs project setup with dependencies and mongo database. Create microservices in nestjs framework with mongoose orm #mongodb #nestjs #mongoose #microservice #api #nodejs #javascript #codeonedigest @KZread @codeonedigest @nestframework @MongoDB @typescript @JavaScript @java @awscloud @nodejs

  • @scottamolinari
    @scottamolinari6 ай бұрын

    Slight correction. Mongoose is an ODM, not an ORM. 🙂

  • @scottamolinari

    @scottamolinari

    6 ай бұрын

    Another tip. Drop the music. You wouldn't have music playing in a classroom either, right? Tutorials don't need a music background. It can only distract from the teaching.

  • @codeonedigest

    @codeonedigest

    6 ай бұрын

    Thanks for your valuable comment

Келесі