NestJS Crash Course

Поделиться
HTML-код
  • Опубликовано: 7 июн 2024
  • Here's a NestJS Crash Course that I put together with all of the core fundamental concepts that you will need to be able to build a web API.
    If you liked this video, check out my other Nest.js tutorials!
    NestJS with TypeORM & SQL: • NestJS, MySQL, TypeORM...
    NestJs with MongoDB: • NestJS with MongoDB & ...
    NestJS w/ GraphQL & TypeORM: • NestJS, GraphQL & Type...
    NestJS Playlist: • [In-Depth] Nest.JS Tut...
    Code: github.com/stuyy/nestjs-crash...
    Support the Channel:
    Become a Member: ruclips.net/user/ansonthedevel...
    Become a Patreon: / stuyy
    Buy me a Coffee: ko-fi.com/anson
    Donate on PayPal: paypal.me/ansonfoong
    Connect with me:
    Twitter: / ansonthedev
    Discord: / discord
    GitHub: github.com/stuyy
    Twitch: / stuy
    0:00 Introduction
    2:00 Install Nest CLI
    3:10 Create Nest Project
    5:00 Project File Overview
    8:10 main.ts file
    9:55 Generating a Nest Module
    11:00 Generate a Controller
    14:00 Handling Routes
    19:50 Post Requests
    26:00 Request Bodies and DTOs
    29:40 Route Params
    33:48 Query Params
    35:46 Validation
    47:00 Services & Providers
    1:03:18 Middleware
    1:17:36 Pipes & Transformations
    1:31:44 Guards
  • ХоббиХобби

Комментарии • 123

  • @ansonthedev
    @ansonthedev  6 месяцев назад +6

    Not sure where to go from here? Check out my other NestJS tutorials & my full in-depth playlist:
    NestJS with TypeORM & SQL: ruclips.net/video/W1gvIw0GNl8/видео.html
    NestJs with MongoDB: ruclips.net/video/dJz94r5C3QA/видео.html
    NestJS w/ GraphQL & TypeORM: ruclips.net/video/CSfZmyzQAG8/видео.html
    NestJS Playlist: ruclips.net/p/PL_cUvD4qzbkw-phjGK2qq0nQiG6gw1cKK
    More to come. Stay tuned!

  • @victordequeirozalves5108
    @victordequeirozalves5108 Год назад +3

    Awesome work! Really appreciated how you cover the common use cases of each topic in an objective way👏

  • @mr.elshahat
    @mr.elshahat Год назад +3

    Great effort, I realy enjoyed this crash course and will continue to watch all your tutorials for NestJS. Keep up the good work 👏

  • @SRPPixels
    @SRPPixels Год назад +23

    Great crash course man! Perfect for those who already know express and just want to get their hands-on with nest and don't want to spend more time in learning, My new company is using nest, but previously i have only worked with express. But i liked Nest. Your tutorial really helped me a lot. And now i can easily understand our whole codebase. Thanks. Cheers 🥂

  • @improvingwithfun
    @improvingwithfun Год назад +6

    "I want to be consistent with NestJS docs" 👏
    I will recommend this course when someone asks me for a good video series on NestJS. I've been watching a few of your playlists and can't be grateful enough.

  • @arnaud_b42
    @arnaud_b42 Год назад +2

    Great content! I'm learning all i need for my last project @school42. Thanks and keep up the good work!

  • @piyushtale0001
    @piyushtale0001 5 месяцев назад +13

    Those who are checking comment, whether its worth. I will say 101% YES, this tutorial is to the point and precise. If you want to dig deeper refer docs after watching this tutorial . Thanks Anson

    • @ansonthedev
      @ansonthedev  5 месяцев назад

      Thank you very much! Glad you enjoyed the video.

  • @forinda
    @forinda Год назад +2

    Amazing explanation. This is the tutorial I needed to kickstart my Nestjs Development

  • @AliAliOxenFree
    @AliAliOxenFree Год назад +4

    honestly i wish i had found this video (playlist) earlier. this is infinitely better than the other tutorials out there.

  • @oussamasadiki7377
    @oussamasadiki7377 Год назад +2

    Man you really explain things really well, i appreciate the nice tutorial it does illustrate lot of thing to me.

  • @mdhasanuzzaman1546
    @mdhasanuzzaman1546 Год назад +2

    The course was really nice!
    Shrot and sweet.
    Thanks you so much for that great course.

  • @bittek3843
    @bittek3843 Год назад +4

    great stuff, just finished watching your video! Would love to have you chat about the fundamentals that are running nestJS like DI, the architecture style they use layered architecture (i think ?) etc. I find this type of stuff really helps with understanding what is happening behind the scenes.

  • @tashenimuluwe2275
    @tashenimuluwe2275 8 месяцев назад +2

    A great crash course!! Very well-organized steps, clear and thorough explanations with good examples! Thank you :) It would be awesome if you made a tutorial on Dependency Injection too!

  • @ethani_
    @ethani_ Год назад +2

    This video was extremely helpful and informative. Thank you for making this video!

  • @adhy612000151
    @adhy612000151 Месяц назад

    thanks anson!
    i just starting move on from django rest framework to nestjs.
    thanks for your great explanation!

  • @rebei
    @rebei 10 месяцев назад

    Thanks a ton. Helps me with my 42 course project!

  • @sanfer587
    @sanfer587 Год назад

    Very good content man, I'm learning nest to my university work and you help me a lot, ty

  • @cayenne2able
    @cayenne2able Год назад

    You are amazing. Thank you for paving the way.

  • @rockNbrain
    @rockNbrain 3 месяца назад

    Great job dude ... it helps a lot to understanding the basics and the power of nestjs🎉

  • @sumeetrana604
    @sumeetrana604 Год назад +3

    Perfect course to start with Nestjs!!

  • @ziaurrahman9529
    @ziaurrahman9529 Год назад

    Thankyou Anson, im so helpful with your this crash course!

  • @satiparpar
    @satiparpar 3 месяца назад

    seriously did it great !! I loved your crash course, helped me a lot
    thanks Anson ! ❤

  • @ppnwt
    @ppnwt 10 месяцев назад

    Great crash course !!, you saved my life, Thank you.

  • @saranr1467
    @saranr1467 2 месяца назад

    Excellent Coverage for a quick understanding, thank you

  • @huyvu2719
    @huyvu2719 9 дней назад

    Great crash course ! thanks bro

  • @layvimol
    @layvimol Год назад

    Great course! Thank you for your effort!

  • @lucduong9871
    @lucduong9871 Год назад +1

    thank you so much

  • @NguyenLong-ob9fc
    @NguyenLong-ob9fc Год назад

    1 hour through and I had to stop to thank youuuuuuu

  • @petermuraguri8608
    @petermuraguri8608 Год назад +1

    Thank You Anson!

  • @VidaAlexandru
    @VidaAlexandru 2 месяца назад

    Thank you for the video, very informing!

  • @ihorploskodnyak1294
    @ihorploskodnyak1294 Год назад +2

    Thank you soooooo much for excellent course. You are one of the best teachers.

    • @ansonthedev
      @ansonthedev  Год назад

      Thank you. Hope you enjoyed it!

    • @ihorploskodnyak1294
      @ihorploskodnyak1294 Год назад

      You lessons are amazing. I learned nestjs from them. Thank you sir for that opportunity

  • @tafowocedric3946
    @tafowocedric3946 Месяц назад

    Thank you for this scratch course, it was very insightful ❤

  • @emmanuelolajumoke8378
    @emmanuelolajumoke8378 Год назад +1

    Thank you, i basically feel more confident using nestjs right now

    • @ansonthedev
      @ansonthedev  Год назад

      You're welcome. Glad to hear that!

  • @LieseLu
    @LieseLu 29 дней назад

    Thank you so much for making this video, I learned a lot from it!!!

  • @rekarromar
    @rekarromar Месяц назад

    This course worth 1000$, thanks very much👏

  • @quanghuy37934
    @quanghuy37934 Год назад +1

    Thank you brother!!!

  • @cubedev4838
    @cubedev4838 Год назад +4

    Please make more course using nestjs. Maybe ecommerce or cms. Just a simple project. So we know how nestjs work with frontend, backend, database

  • @ericjamesmanalang7173
    @ericjamesmanalang7173 Год назад

    Great content! Thanks man! I learned a lot!
    @Anson, we are building an ordering / shopping app, any tutorial you can suggest?? thanks man!!

  • @nerdus8388
    @nerdus8388 Год назад

    Thank you! It's was great.

  • @thiagowatanabe5087
    @thiagowatanabe5087 Год назад

    Thanks bro, you are so good

  • @brianmagee2314
    @brianmagee2314 11 месяцев назад

    Fantastic tutorial.

    • @ansonthedev
      @ansonthedev  11 месяцев назад

      Thank you very much! :D

  • @az910
    @az910 Год назад

    Thank you very much 🎉

  • @cyanide2426
    @cyanide2426 Год назад

    Thank you!

  • @user-rn4yr2hq5c
    @user-rn4yr2hq5c 6 месяцев назад

    tnk u very much, it is really necessaray content

  • @user-yj4dm5fq5p
    @user-yj4dm5fq5p 8 месяцев назад

    Nice Video, Thank you :D

  • @MahmudIbrahim
    @MahmudIbrahim Месяц назад

    Hi, Anson. Thank you for these crash course on nest. Can you create a project based long video on nest.for example, making a e-commerce using nest and react.

  • @Saldymedis
    @Saldymedis 5 месяцев назад

    Thank you so much!!!

  • @me_3azim86
    @me_3azim86 Год назад

    I checked - everything is clean

  • @sameeravhad6266
    @sameeravhad6266 11 дней назад

    Great videos !!!. Why my VS code not giving intellisense suggestion for Nest js ?

  • @nguyentoanhnt
    @nguyentoanhnt Год назад

    Thanks!

  • @kingsleyaham3192
    @kingsleyaham3192 Год назад

    excellent tutorial please what vscode extension are you using

  • @vismal2007
    @vismal2007 5 месяцев назад

    Thank you man

  • @SheikhMugees
    @SheikhMugees 5 месяцев назад

    Your content is beyond awesome! I wish I had found your channel earlier.
    Could you please make a series on Typescript and a video on your VS Code's setup?

    • @ansonthedev
      @ansonthedev  5 месяцев назад +2

      Thanks. I will consider the Typescript course on my list of next courses to work on.

    • @SheikhMugees
      @SheikhMugees 5 месяцев назад

      @@ansonthedevMore power to you and Peace be upon you! ❤️

  • @vannakdy4974
    @vannakdy4974 Год назад

    Thank you so much

  • @helersu
    @helersu 2 месяца назад

    Great video. Thnx.

  • @user-fz3ry9vo5g
    @user-fz3ry9vo5g 7 месяцев назад

    Thanks 🎉🎉🎉

  • @realtirtha
    @realtirtha 9 месяцев назад

    i finished. esta bien. recommended.

  • @ammadkhan5275
    @ammadkhan5275 Год назад

    I having a hard time understanding guard vs middleware , whats the purpose if both are working in a same way.

  • @speakthememe
    @speakthememe Год назад

    thanks man

  • @mohamedbenhammouda3748
    @mohamedbenhammouda3748 Год назад

    best Series

  • @Johnny-rn8fb
    @Johnny-rn8fb Год назад +1

    very usefull for beginers

  • @igmtink
    @igmtink 2 месяца назад

    sir anson, your nestjs guard video that separated on your channel is included here on nestjs crash course? also the nestjs interceptors? or it's not the same content? like on the separated video has more deep dive?

    • @ansonthedev
      @ansonthedev  2 месяца назад

      They are in a separated video in my NestJS playlist.

  • @user-qr5fs5yi2v
    @user-qr5fs5yi2v 8 месяцев назад

    Great !

  • @ferrywijaya6404
    @ferrywijaya6404 4 месяца назад

    thanks sir about this video. may i ask what is 3 others video that unavailable for view for nestjs tutorials. Thanks sir

    • @ansonthedev
      @ansonthedev  4 месяца назад

      They're upcoming videos scheduled for the next few weeks.

  • @namhoai5282
    @namhoai5282 9 месяцев назад

    thanks your video,

  • @Charles_001
    @Charles_001 Год назад

    Great course, 👋

  • @rappy27
    @rappy27 Год назад

    Hello, Anson.
    I'm new to NestJS and want to learn it, but I have a problem with my NestJS version, it stuck at version 7.6.0. I can't update it, and I've tried to uninstall and then install it again, but it still didn't work. When I uninstalled it, I can still use nest command like `nest -v`. I already tried updating my npm and node, clear npm cache, but still didn't work.
    Can you help me with that? TIA!
    Great video btw!

  • @user-ym7gg5ki6l
    @user-ym7gg5ki6l Год назад

    very cool

  • @izzedeenalfarra1228
    @izzedeenalfarra1228 2 месяца назад

    Js hero !!

  • @ozycozy9706
    @ozycozy9706 Год назад

    Not sure how to send thanks 👋👋👋, sent you a coffee :)

  • @justinnoor4915
    @justinnoor4915 Год назад

    Yes!!!

  • @CodeClem
    @CodeClem Год назад +1

    Please the name of your VSCODE theme?

  • @cayenne2able
    @cayenne2able Год назад

    Hi Anson, what is the theme you are using for your VS Code?

    • @user-Korpan
      @user-Korpan Месяц назад

      yea damn i also want to know.

  • @HORKimhab
    @HORKimhab 2 месяца назад

    11:40-11:46
    - nest generate controller users/controllers/users (with git bash)
    - nest generate controller /users/controllers/users (with cmd)

  • @goldenbobyRL
    @goldenbobyRL Год назад

    thanks you, I will now just let you go ahead ;)

  • @vuxuanhuy9079
    @vuxuanhuy9079 Год назад

    tks

  • @SiciidQaran
    @SiciidQaran Год назад

    which browser you are using? its amazing.

  • @maythammahdi5238
    @maythammahdi5238 Год назад

    great

  • @aadispare3673
    @aadispare3673 Год назад

    Your theme extension name please??

  • @avacademy8115
    @avacademy8115 Год назад

    Do I have to learn express JS before learning NestJS.
    I have urgent project I need to deliver in nestJS and I am considering going straight into NEST JS

    • @ansonthedev
      @ansonthedev  Год назад +1

      No, not really. If you already are coming from a background of web dev, and have used frameworks like Spring Boot and .NET, you will grasp the concepts of NestJS just fine.

    • @avacademy8115
      @avacademy8115 Год назад

      @@ansonthedev Okay. thanks. Already jumped on it and really like the content instruction. Thanks a bunch

  • @sohan6058
    @sohan6058 Год назад

    Would love to see auth video

  • @andrejkling3886
    @andrejkling3886 4 месяца назад +1

    Thank you so very much for great tutorial 🔥🆒 Do you have some real project in which I can learn again examples which you shared on this tutorial?

    • @ansonthedev
      @ansonthedev  4 месяца назад

      I'd suggest thinking of any kind of UI project in React or Angular, like a recipe book or expense calculator, and then think of how you'd need an API to communicate with, and how you'd save that data.

    • @andrejkling3886
      @andrejkling3886 3 месяца назад +1

      @@ansonthedevmissing react with postgresQl DB 🎉

  • @Charles_001
    @Charles_001 Год назад

    What browser are you using for debugging? cool

    • @ansonthedev
      @ansonthedev  Год назад +1

      It's Brave Browser.

    • @Charles_001
      @Charles_001 Год назад

      @@ansonthedev "Cool," said an unemployed programmer from the far East.

    • @roflwaffles902
      @roflwaffles902 Год назад

      @@Charles_001 hey man not unemployed for long if you keep up the work. believe in yourself

  • @rajnarayan9558
    @rajnarayan9558 Год назад

    Hello sir can you share your vs code theme plz

  • @jaisuperawesome
    @jaisuperawesome 5 месяцев назад

    can I use middleware instead of guard?

    • @ansonthedev
      @ansonthedev  5 месяцев назад

      Yes, but ideally the guard is designed for handling user authorization, e.g: Denying a request if user is missing a role.

  • @pwveediyapeeth9th
    @pwveediyapeeth9th Год назад

    Determination is key, and reframing of tNice tutorialngs you view as complicated.

  • @LauraCasaBlanca10
    @LauraCasaBlanca10 8 месяцев назад

    This is the start of a comment thread.

  • @thiagowatanabe5087
    @thiagowatanabe5087 Год назад

    Do you have paid NestJS courses?

    • @ansonthedev
      @ansonthedev  Год назад +2

      I do not! You can find almost everything you need to learn about NestJS on my playlist ruclips.net/p/PL_cUvD4qzbkw-phjGK2qq0nQiG6gw1cKK

  • @Ro11ingBoy
    @Ro11ingBoy 16 дней назад

    Who's still watching in 2077?

  • @DianWirda-mx7tr
    @DianWirda-mx7tr Год назад

    pantes depo mu

  • @BaktiantoPraba
    @BaktiantoPraba Год назад

    Tadi gue gacor pake pola lu

  • @nguyenhuydinh
    @nguyenhuydinh Год назад

    great work. thank you for doing this

  • @jediTempleGuard
    @jediTempleGuard Год назад

    I don't know why but console.log did not work for me. Everytime I use console.log in any code I got "Cannot read properties of undefined (reading 'log') error. It took me several hours to realise I should use built-in logger (Logger.log). Great video btw. Thanks a ton for your effort.

  • @zerculable
    @zerculable Год назад

    Thanks!