Nestjs Full Course 2022 | Beginner Nestjs Tutorial

Поділитися
Вставка
  • Опубліковано 11 лип 2024
  • NestJS is a progressive Node.js framework for building efficient, reliable, and scalable server-side applications.
    Nestjs full course will take you as a beginner to pro in nestjs
    Nestjs tutorial is for everyone, if you know nestjs or doesn't know nest js
    This nestjs course is for you
    Source Code : github.com/bitfumes/nestjs-co...
    Individual Video Content : bitfumes.com/courses/nodejs/n...
    🌟 Course Contents 🌟
    ⏳ (00:00:00) Course Intro
    ⏳ (00:04:00) What is NestJs
    ⏳ (00:07:48) Nest new project
    ⏳ (00:14:15) Features of nestjs
    ⏳ (00:17:32) Explore directory structure
    ⏳ (00:28:00) Nest modules
    ⏳ (00:34:41) Nest controllers
    ⏳ (00:50:04) Custom controller
    ⏳ (00:57:59) Nest CLI
    ⏳ (01:04:19) Service provider
    ⏳ (01:17:30) Dependency Injection Explain
    ⏳ (01:21:40) Request Payload
    ⏳ (01:31:38) Pipe and Validation
    ⏳ (01:41:50) Connect to mysql
    ⏳ (01:54:14) Crud with typeORM
    ⏳ (02:00:12) Authentication
    ⏳ (02:11:54) Passport Authentication
    ⏳ (02:23:32) Login JWT token
    ⏳ (02:30:00) Protected Route
    Social Media:-
    / sarthaksavvy
    / sarthaksavvy
    Discord server
    / discord
    🌟 Premium Courses 🌟
    Check out 32 hours of Laravel Content at
    bit.ly/indepthlaravel
    🔥 DIGITAL OCEAN HOSTING Affiliate
    Get $100 in credit for 60 days m.do.co/c/a3a47da9b9a8
    🌟 Gadgets I use 🌟
    Camera amzn.to/3mGikwL
    Blue Yeti Mic amzn.to/3mA6YdI
    Blue Yeti Mic Foam Cover amzn.to/2GkmV8w
    Capture Card amzn.to/3ed3cnN
    🌟 Support Me ( I am a full-time UA-cam) 🌟
    Github github.com/sponsors/bitfumes
    Patreon / bitfumes
    UA-cam / @bitfumes
    🌟 FOLLOW ME 🌟
    Subscribe for New Releases!
    Twitter - / bitfumes
    Twitter - / sarthaksavvy
    Facebook - / bitfumes
    Instagram - / bitfumes
    (ask me questions!)
    -- QUESTIONS? --
    Leave a comment below and I or someone else can help you.
    For quick questions you may also want to ask me on Twitter, I respond almost immediately.
    Email me support@bitfumes.com
    Thanks for all your support
  • Навчання та стиль

КОМЕНТАРІ • 192

  • @yoskokleng3658
    @yoskokleng3658 8 місяців тому +5

    "Indian teachers are truly incredible! Their expertise in technology is awe-inspiring, and they possess a unique talent for sharing knowledge without revealing any confidential information. I am deeply grateful for their kindness and generosity in educating everyone on platforms like UA-cam. Thank you for your invaluable contributions!" 😊

  • @dharyelsantoshonorio5890
    @dharyelsantoshonorio5890 Рік тому

    Thank you so much, bitfumes. This course is amazing. You are a great teacher!

  • @CamiloMazorra
    @CamiloMazorra 11 місяців тому +1

    Keep the good work! As a beginner in the web development field I've found this video quite instructive, simple and well explained. Thanks for taking the time and patience.

  • @kolynzb
    @kolynzb Рік тому +1

    Thank you , This the best nest js tutorial yet

  • @manee427
    @manee427 Рік тому

    Amazing, finally learned Nest Js. Perfect and Thanks

  • @GGSoft2009
    @GGSoft2009 9 місяців тому

    Thanks a lot, I searching for this topic a long time!!!

  • @hammadalam2709
    @hammadalam2709 Місяць тому

    Great tutorial easy to understand found this most clear among other tutorials on yt

  • @inzodialo
    @inzodialo Рік тому +1

    Thanks a lot, this is my entry point to start learning nest

  • @kumailn7662
    @kumailn7662 Рік тому

    Man I want to solute you for so easy on explaining every concept ...

  • @blueskyzhy
    @blueskyzhy Рік тому +1

    very clear explanations, thank you

  • @nandomkumchi4377
    @nandomkumchi4377 11 місяців тому

    Thank you so much for the video.. I had never done nest js before but this video is good and I recommend it

  • @subashc6493
    @subashc6493 2 роки тому +7

    It would be great if we have a deployment section on this Tutorial :)

    • @asit3061
      @asit3061 2 роки тому +2

      Deployment is not part of next js is devops

  • @NikunjSondagar
    @NikunjSondagar Рік тому +1

    Nice point to point explanation, i cleared some new concepts of nestjs, Thanks sarthak😄

  • @rizekishimaro
    @rizekishimaro 6 місяців тому

    Thanks for teaching me how to read documentation and fundamental of nestjs now i got job as junior developer.Thank you Bitfumes.

  • @assem_ahmed
    @assem_ahmed Рік тому

    thank you for this amazing course

  • @naimurhasanrwd
    @naimurhasanrwd Рік тому +3

    Total Solution! Awesome video.

  • @licokr
    @licokr Рік тому +3

    You're so patient! you showed everything I wanted to know as a beginner of nestjs! Thank you very much! This is great!

    • @Bitfumes
      @Bitfumes  Рік тому +2

      Thanks for watching, please subscribe and like this video

    • @user-gu5ts5nx8r
      @user-gu5ts5nx8r Рік тому +1

      @@Bitfumes already subscribed.

  • @esosaekuobase4753
    @esosaekuobase4753 2 роки тому +2

    Thanks for this course

  • @milanthakur4975
    @milanthakur4975 6 місяців тому +3

    Thank you so much, I have understood nest js fundamentals. It is going to help me in my next project. ❤

    • @Bitfumes
      @Bitfumes  6 місяців тому +1

      thanks bro, you are awesome
      if you like this, consider subscribing to bitfumes newsletter too bitfumes.com/newsletter

  • @almujabsidik3200
    @almujabsidik3200 Рік тому +5

    Wow , Thank you, I learn a lot from your channel🔥

  • @raimundoneto4557
    @raimundoneto4557 Рік тому

    assistindo aqui do Brasil, parabpens pelo trabalho.

  • @harshawevmotech
    @harshawevmotech Рік тому

    Thanks for your amazing work

  • @cuffeemia2108
    @cuffeemia2108 9 місяців тому +1

    Thank you my friend, you are a very good teacher!

  • @UltraMegaXL
    @UltraMegaXL 9 місяців тому +1

    this is an amazing and thorough tutorial. great worth every 2.5 hours

    • @Bitfumes
      @Bitfumes  9 місяців тому

      Thanks for your love and support, keep learning. Join bitfumes telegram group t.me/bitfumes

  • @muboshermuydinov9632
    @muboshermuydinov9632 Рік тому +1

    Thankyou for creative course

  • @saimi03
    @saimi03 Рік тому

    Great explanation!

  • @vino8711
    @vino8711 Рік тому

    Awesome! Thanks

  • @innocentmazando3808
    @innocentmazando3808 Рік тому

    Always explaining concepts so good. Thanks @Sarthak

  • @karthikhkamath
    @karthikhkamath 3 місяці тому +1

    Perfect on point video !

    • @Bitfumes
      @Bitfumes  3 місяці тому

      Glad you think so!

  • @trendsnow5189
    @trendsnow5189 7 місяців тому

    very informative, thanks😍

  • @user-of1gv8wc1n
    @user-of1gv8wc1n Рік тому +2

    Very easy to understand. Thanks.

    • @Bitfumes
      @Bitfumes  Рік тому

      Thanks for your love and support, keep learning. Join bitfumes telegram group t.me/bitfumes

  • @KailashKumar-pn5ew
    @KailashKumar-pn5ew Місяць тому

    Thanks for this great and informative video...

  • @Airjaman
    @Airjaman Рік тому +1

    Thank you!

  • @amanmishra5409
    @amanmishra5409 2 роки тому +2

    hardwork sir 💪💪

  • @ohradiatelove
    @ohradiatelove Рік тому +1

    thanks, downloaded, all works!

    • @Bitfumes
      @Bitfumes  Рік тому

      Enjoy
      Thanks for watching, please subscribe and like this video

  • @alexcodedominican
    @alexcodedominican 5 місяців тому

    Excelent video, the best

  • @k.ksharma4457
    @k.ksharma4457 Рік тому

    awesome explanation ever👌👌👌

  • @gonzaloquispehuanca476
    @gonzaloquispehuanca476 Рік тому

    great video!

  • @user-gu5ts5nx8r
    @user-gu5ts5nx8r Рік тому +1

    very helpful. thanks for sharing

  • @kumailn7662
    @kumailn7662 Рік тому

    very interactive tutorial!!

  • @TheCocuba
    @TheCocuba Рік тому +1

    nice video, well explained

  • @lukramingo1496
    @lukramingo1496 Рік тому

    great tutorial with documentation

  • @mansourlotfim
    @mansourlotfim Рік тому +1

    thank you , it was great

  • @izuchukwusamson3150
    @izuchukwusamson3150 Рік тому

    Hi bitfumes, thanks for the awesome tutorial
    It really made me understand nestjs
    Please you can also post a tutorial on authorization for admin and normal users
    Thanks a lot

  • @Easyman01
    @Easyman01 2 роки тому +3

    This cause is too good to be free. Honestly speaking, I have watched some causes on UA-cam and after 30 minutes of 2 hrs course, I start searching for another one. But I went through your course in one sitting and now I am on 02:10 hrs and hoping there would be a continuation. I just love your sense of humor, the passion you have for nestjs, and your energy you put in this course. Thank you very much. I just can not thank you enough for this course.

    • @Bitfumes
      @Bitfumes  2 роки тому +3

      Thank you sooo much brother
      Really this is the earning from youtube I get, the comments like this gives me energy to create more quality content

    • @Easyman01
      @Easyman01 2 роки тому

      @@Bitfumes I was trying to extend your course by creating a product functionality but ran into this issue of typORM 0.3+ version where EntityRepository decorator is deprecated and I just can't find a way around it.
      @EntityRepository(Product)
      export class ProductRepository extends Repository {}

    • @Easyman01
      @Easyman01 2 роки тому

      Nest can't resolve dependencies of the ProductService (?). Please make sure that the argument ProductRepository at index [0] is available in the ProductModule context.
      Potential solutions:
      - If ProductRepository is a provider, is it part of the current ProductModule?
      - If ProductRepository is exported from a separate @Module, is that module imported within ProductModule?
      @Module({
      imports: [ /* the Module containing ProductRepository */ ]
      })

  • @thanakronjantara6421
    @thanakronjantara6421 Рік тому +1

    amzing course sir

  • @bhargavas3846
    @bhargavas3846 6 місяців тому +3

    Thanks!

    • @Bitfumes
      @Bitfumes  6 місяців тому

      Waoo, thanks Bhargav for your support
      Since you liked my content, I believe you will also like my new Hindi channel www.youtube.com/@code-jugaad
      Give your love and support to this channel too and let me know what you want to learn from me in Hindi

  • @tsrcodes
    @tsrcodes 2 роки тому +1

    Awesome 😍

    • @Bitfumes
      @Bitfumes  2 роки тому

      Thank you! Cheers!
      Please like this video and subscribe to bitfumes if you haven't

  • @rupeshkarale3492
    @rupeshkarale3492 Рік тому

    really good explanation😇

  • @salmanahmedkhan3979
    @salmanahmedkhan3979 2 роки тому +2

    Your way of teaching is majestic. One day you will soon hit millions subscribers. Thank you for making such a great content with great explanation. Love from Pakistan

    • @Bitfumes
      @Bitfumes  2 роки тому +1

      Waoo, your comment makes me happy
      Thanks for all your support bro, keep learning

  • @zahidshaikh3122
    @zahidshaikh3122 Рік тому

    Bitfumes is the only place where you'll learn a Technology even if you're absolute beginner. Highly Recommended!!!

  • @ivo9563
    @ivo9563 Рік тому +2

    2:29:00 Why "@Request() req:any" instead of "@Req() req: Request" in login function (import {Request} from 'express')? Very good course for beginners! Thank you!

  • @kumailn7662
    @kumailn7662 Рік тому

    Great video

  • @ostryFAN
    @ostryFAN Рік тому

    good job 👏

  • @baba_yaga9
    @baba_yaga9 Рік тому +1

    Awesome content! You've earned a sub today bhai...

    • @Bitfumes
      @Bitfumes  Рік тому +1

      Thanks and welcome
      Please share with your friends

    • @baba_yaga9
      @baba_yaga9 Рік тому

      @@Bitfumes sure will do! Also if there’s any reference/video link where Mongodb is used instead of sql based db, that would be really helpful.

  • @motiurrahman3023
    @motiurrahman3023 11 місяців тому

    Really nice

  • @limonfwt
    @limonfwt Рік тому

    I really love your videos. Would you make a video on Bun (JS Runtime)

  • @MohidulIslam-el8fd
    @MohidulIslam-el8fd Рік тому +2

    Thanks for easy explanation

    • @Bitfumes
      @Bitfumes  Рік тому

      You are welcome
      Thanks for watching, please subscribe and like this video

    • @MohidulIslam-el8fd
      @MohidulIslam-el8fd Рік тому

      Already subscribed

  • @tejass817
    @tejass817 Рік тому +1

    Great content

    • @Bitfumes
      @Bitfumes  Рік тому +1

      thanks Tejas :)
      Thanks for watching, please subscribe and like this video

  • @anasisah2384
    @anasisah2384 2 роки тому +1

    Wow that`s so good. I`m so boring with other lecture but this one clear all the boring i had before

    • @Bitfumes
      @Bitfumes  2 роки тому

      glad that you liked it

    • @anasisah2384
      @anasisah2384 2 роки тому

      @@Bitfumes The only problem I get is (secretOrPrivateKey must have a value) I try to resolve the error but I could not. Please any help

  • @mdalmamunmim8062
    @mdalmamunmim8062 Рік тому +1

    I love this❤️ please make videos on nextJs

    • @Bitfumes
      @Bitfumes  Рік тому

      Yes sure, I will do that
      Thanks for watching, please subscribe and like this video

  • @letslearntogether2481
    @letslearntogether2481 Рік тому

    Hi, this course is awesome. It is having everything to start CRUD and user authentication. BTW, what is the extension you are using for auto suggestion in vscode?

  • @anstbt
    @anstbt Рік тому

    thank you sir

  • @onrightside
    @onrightside Рік тому

    Thank you for this nice tutorial, What is the proper way to create separate repository (file)? Where we could write custom functions.

  • @darkroad4672
    @darkroad4672 Рік тому

    Thank you very much

  • @kuku687
    @kuku687 Рік тому

    Nice explain

  • @elgrego3849
    @elgrego3849 Рік тому

    i love you man

  • @user-ip6qi4jk2v
    @user-ip6qi4jk2v 8 місяців тому

    Good job

  • @mostviewedtoks
    @mostviewedtoks 7 місяців тому

    Helpful

  • @LeeanRepzTraining
    @LeeanRepzTraining 5 місяців тому

    what if you utilize bcrypt to hash the pass word.. how can passport validation be used?

  • @sirojulanam7278
    @sirojulanam7278 2 роки тому +1

    please make video about custom validation and interceptor, Sir

  • @marisettibabji2012
    @marisettibabji2012 7 місяців тому

    hi Bitfumes, your explain very good, this video is very help full for me, could you plz make a vedio on full API mean while making API we are using mapper becouse we are using multiple functions in a single api that time how we can handle the response

  • @mahdisalmanizadehgan6838
    @mahdisalmanizadehgan6838 2 роки тому

    Great

  • @kashifniaz4627
    @kashifniaz4627 Рік тому +1

    finally...
    i have created a basic nestjs application followed by your this video.
    thanks for this video. 💌

  • @bilalrabbi6401
    @bilalrabbi6401 2 роки тому

    Fantastic teacher. Love you sartik bhaye. Any plans for Appolo prisma or graphql. it would be fantastic. There are no tutorials on this topic which covers it

  • @guptaji0786
    @guptaji0786 2 роки тому +1

    Django Restful Framework, Tailwind CSS and Next.JS

  • @taharchibane5762
    @taharchibane5762 2 роки тому +1

    Awesome ! What is your extension that show you 'Cannot found module' please ?😃

    • @Bitfumes
      @Bitfumes  2 роки тому +1

      error lens extension on vscode

  • @silvanageorgioska9717
    @silvanageorgioska9717 Рік тому

    super

  • @tarunraheja84
    @tarunraheja84 11 місяців тому

    Nice

  • @emadzaheer
    @emadzaheer 10 місяців тому

    While following this tutorial, make sure to comment the routes defined earlier in the root controller or they can cause conflict with the user routes without giving an error.

  • @anhxtanh5586
    @anhxtanh5586 26 днів тому +1

    Summary
    00:00:01 - Course Introduction
    📘 The video introduces the comprehensive tutorial on NestJS, covering basics, MySQL connection, authentication with Passport and JWT, and hands-on project creation.
    00:02:42 - Introduction to NestJS
    🚀 Explanation of NestJS as a progressive Node.js framework for building efficient, scalable server-side applications with full TypeScript support.
    00:08:49 - Project Setup with Nest CLI
    🛠 Demonstrates creating a new NestJS project using Nest CLI, organizing the directory structure, and initializing the project.
    00:12:13 - Features of NestJS
    🔧 Explores NestJS features like TypeScript, CLI productivity, module integration (GraphQL, WebSockets), and unit testing.
    00:19:43 - Core Components: Modules, Controllers, and Providers
    📂 Detailed explanation of creating and using modules, controllers, and providers in a NestJS application for effective organization and management.
    00:33:04 - Dependency Injection
    💾 Discusses the importance of dependency injection in NestJS, simplifying dependency management and enhancing scalability and maintainability.
    00:57:06 - Unit Testing with Jest
    🧪 Introduces unit testing in NestJS using Jest framework, demonstrating how to write and run tests for controllers and services.
    01:01:36 - Connecting to MySQL with TypeORM
    📊 Guides on setting up MySQL database, creating entities, and using TypeORM for performing CRUD operations.
    01:47:01 - Authentication with Passport and JWT
    🔒 Covers setting up authentication routes, handling login, and securing routes using JWT tokens, ensuring secure access control.
    02:05:57 - Wrapping Up
    🎓 Summary of the course content, emphasizing the importance of the discussed topics, and encouraging viewers to practice and implement NestJS in their projects.

    • @Bitfumes
      @Bitfumes  26 днів тому

      Thanks for the breakup

  • @kashifniaz4627
    @kashifniaz4627 Рік тому +1

    hi, i am following your tutorial on Nestjs framework.
    at @2:22:49 you have implemented passport authentication strategy 'local' but i am facing issue at this point. can you help me please.
    console error below:
    Error: Unknown authentication strategy "local".
    rest of the tutorial is fantastic and specially not boring (dull).
    thanks in advance.

  • @anasisah2384
    @anasisah2384 2 роки тому +2

    Please we need the continuetion of the lecture

  • @samaygoel707
    @samaygoel707 Рік тому +1

    Too good

    • @Bitfumes
      @Bitfumes  Рік тому +1

      Thanks for your comment bro, keep learning
      Any suggestion from your side for next course ??

    • @samaygoel707
      @samaygoel707 Рік тому

      @@Bitfumes could you please teach testing in Nest JS? Unit testing, specifically. Can't find good vids online for the same...

  • @gigakvachakhia4777
    @gigakvachakhia4777 2 роки тому +1

    how to run migrations? i could not figure it out. works only with autoloading entities

  • @UsmanArain
    @UsmanArain Рік тому

    after get token from login api , profile module work properly as you mentioned in tut , I want access of users/profile, method that i made inside UserModule but I can't get , I'm facing an issue of where clause error nan etc. ? how can I do that ?

  • @trongphuctongnguyen2013
    @trongphuctongnguyen2013 Рік тому

    Can you tell me what extension you are using?

  • @milanthakur4975
    @milanthakur4975 6 місяців тому +3

    I was watching freecodecamp's nest js video and accidentally clicked on next button, and stayed untill the end.

    • @Bitfumes
      @Bitfumes  6 місяців тому +1

      Waoo thats really a big compliment, thanks thanks a lot

  • @carlosrema21
    @carlosrema21 Рік тому +2

    Great course! Can we connect this as the back end of the Angular Books app? Would you do it please? Thank you!

    • @Bitfumes
      @Bitfumes  Рік тому +1

      Not exactly with Book app of angular course
      But I will create angular + nestjs course for sure

    • @carlosrema21
      @carlosrema21 Рік тому

      @@Bitfumes I am really excited for this. Thank you!

  • @muhammedrashidp
    @muhammedrashidp Рік тому +1

    how can we do roles and permission using nestjs

  • @imakhlaqXD
    @imakhlaqXD Рік тому +1

    I don't know why but its hard for me to wrap my head around modules. Can someone provide me resource to understand.

  • @loganwells6082
    @loganwells6082 Рік тому +1

    Hands down, tNice tutorials is THE best beginner

  • @Easyman01
    @Easyman01 2 роки тому +1

    Not sure if anyone having this issue where mysql workbench erases name and email except the id's from the user table after vs code restart. Basically, when I run a GET request for all users, I get all users object with uniq id's but name and email returns as an empty string.

    • @Easyman01
      @Easyman01 2 роки тому +1

      This issue is fixed. It was caused by "synchronize: true" that was set in app.module.ts Setting that property to false "synchronize: false" retains my record in db.

  • @An_urbanmonk
    @An_urbanmonk Рік тому +1

    How come. you never had to do CREATE TABLE with your schema? Does typeORM handle schema migration as well?

    • @teknolovedigital
      @teknolovedigital Рік тому +1

      if sync true, then it will automatic created. so dont set to true if you are on production.

  • @namratapatil8190
    @namratapatil8190 Рік тому

    I don't understand validation pipes and payload thing. although Its great 😄

  • @coodementor6826
    @coodementor6826 2 роки тому +1

    Can you make complete course nest js with typeorm with postgresql?

    • @Bitfumes
      @Bitfumes  2 роки тому +1

      Will try that too, but it is not that difficult just use postgresql instead of mysql

  • @UltraMegaXL
    @UltraMegaXL 9 місяців тому

    Does this allow serverside rendering?

  • @wasimkabir4398
    @wasimkabir4398 Рік тому

    What font are you using in VS Code?

  • @bhargavas3846
    @bhargavas3846 6 місяців тому +1

    Hi Sarthak Is it possibie to add RuPay Debit card type, to join.

    • @Bitfumes
      @Bitfumes  6 місяців тому +1

      Hey I don't know what youtube support

  • @AmaroAmaral
    @AmaroAmaral 2 роки тому

    Hi as a long follower of your channel, Thank you for all your hard work. Question: Laravel or NestJs for backend ?

    • @flogginga_dead_horse4022
      @flogginga_dead_horse4022 2 роки тому

      nest

    • @Bitfumes
      @Bitfumes  2 роки тому +4

      The one you know better
      No framework is good or bad, it is like what language you have master

    • @AmaroAmaral
      @AmaroAmaral 2 роки тому

      @@Bitfumes no doubt about that! I am used to laravel (queues, crons jobs, echo) can we get all of that on nest! That was my point of view!

    • @AmaroAmaral
      @AmaroAmaral 2 роки тому

      @@flogginga_dead_horse4022 n your experience whats the advantages? that what I am trying to get! Example I prefer Angular over reactjs, to mess less with "external" packages/components,

    • @flogginga_dead_horse4022
      @flogginga_dead_horse4022 2 роки тому +1

      @@AmaroAmaral it uses typescript so the language is very similar to writing angular on the front end. Then you aren't writing php for one part and typescript for the other. Also Laravel is one of the slowest frameworks. Some will say this isn't important but why start with something slow when you can have something faster. There are other things but it's late here lol