NestJS Crash Course

Тәжірибелік нұсқаулар және стиль

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: kzread.info...
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
    @ansonthedev6 ай бұрын

    Not sure where to go from here? Check out my other NestJS tutorials & my full in-depth playlist: NestJS with TypeORM & SQL: kzread.info/dash/bejne/iWWb2KuwYKq0nJs.html NestJs with MongoDB: kzread.info/dash/bejne/ln6um5arZaaZgaQ.html NestJS w/ GraphQL & TypeORM: kzread.info/dash/bejne/dYeavM-yqrSnd5s.html NestJS Playlist: kzread.info/head/PL_cUvD4qzbkw-phjGK2qq0nQiG6gw1cKK More to come. Stay tuned!

  • @kaleo7046

    @kaleo7046

    4 ай бұрын

    where is that wallpaper from

  • @vladislavgrishenko4884

    @vladislavgrishenko4884

    Ай бұрын

    Thank you for this course!

  • @victordequeirozalves5108
    @victordequeirozalves5108 Жыл бұрын

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

  • @mr.elshahat
    @mr.elshahat Жыл бұрын

    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 Жыл бұрын

    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 Жыл бұрын

    "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 Жыл бұрын

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

  • @piyushtale0001
    @piyushtale00015 ай бұрын

    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 Жыл бұрын

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

  • @AliAliOxenFree
    @AliAliOxenFree Жыл бұрын

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

  • @oussamasadiki7377
    @oussamasadiki7377 Жыл бұрын

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

  • @mdhasanuzzaman1546
    @mdhasanuzzaman1546 Жыл бұрын

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

  • @bittek3843
    @bittek3843 Жыл бұрын

    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
    @tashenimuluwe22758 ай бұрын

    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_ Жыл бұрын

    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
    @rebei10 ай бұрын

    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
    @rockNbrain3 ай бұрын

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

  • @sumeetrana604
    @sumeetrana604 Жыл бұрын

    Perfect course to start with Nestjs!!

  • @ziaurrahman9529
    @ziaurrahman9529 Жыл бұрын

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

  • @satiparpar
    @satiparpar3 ай бұрын

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

  • @ansonthedev

    @ansonthedev

    3 ай бұрын

    You're welcome!

  • @ppnwt
    @ppnwt10 ай бұрын

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

  • @saranr1467
    @saranr14672 ай бұрын

    Excellent Coverage for a quick understanding, thank you

  • @ansonthedev

    @ansonthedev

    2 ай бұрын

    You're welcome. :)

  • @huyvu2719
    @huyvu27199 күн бұрын

    Great crash course ! thanks bro

  • @layvimol
    @layvimol Жыл бұрын

    Great course! Thank you for your effort!

  • @lucduong9871
    @lucduong9871 Жыл бұрын

    thank you so much

  • @NguyenLong-ob9fc
    @NguyenLong-ob9fc Жыл бұрын

    1 hour through and I had to stop to thank youuuuuuu

  • @petermuraguri8608
    @petermuraguri8608 Жыл бұрын

    Thank You Anson!

  • @VidaAlexandru
    @VidaAlexandru2 ай бұрын

    Thank you for the video, very informing!

  • @ihorploskodnyak1294
    @ihorploskodnyak1294 Жыл бұрын

    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
    @tafowocedric394629 күн бұрын

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

  • @ansonthedev

    @ansonthedev

    28 күн бұрын

    You're so welcome!

  • @emmanuelolajumoke8378
    @emmanuelolajumoke8378 Жыл бұрын

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

  • @ansonthedev

    @ansonthedev

    Жыл бұрын

    You're welcome. Glad to hear that!

  • @LieseLu
    @LieseLu29 күн бұрын

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

  • @ansonthedev

    @ansonthedev

    28 күн бұрын

    You're welcome!

  • @rekarromar
    @rekarromarАй бұрын

    This course worth 1000$, thanks very much👏

  • @quanghuy37934
    @quanghuy37934 Жыл бұрын

    Thank you brother!!!

  • @cubedev4838
    @cubedev4838 Жыл бұрын

    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
    @brianmagee231411 ай бұрын

    Fantastic tutorial.

  • @ansonthedev

    @ansonthedev

    11 ай бұрын

    Thank you very much! :D

  • @az910
    @az910 Жыл бұрын

    Thank you very much 🎉

  • @cyanide2426
    @cyanide2426 Жыл бұрын

    Thank you!

  • @user-rn4yr2hq5c
    @user-rn4yr2hq5c6 ай бұрын

    tnk u very much, it is really necessaray content

  • @user-yj4dm5fq5p
    @user-yj4dm5fq5p8 ай бұрын

    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
    @Saldymedis5 ай бұрын

    Thank you so much!!!

  • @me_3azim86
    @me_3azim86 Жыл бұрын

    I checked - everything is clean

  • @sameeravhad6266
    @sameeravhad626611 күн бұрын

    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
    @vismal20075 ай бұрын

    Thank you man

  • @SheikhMugees
    @SheikhMugees5 ай бұрын

    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 ай бұрын

    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
    @helersu2 ай бұрын

    Great video. Thnx.

  • @ansonthedev

    @ansonthedev

    2 ай бұрын

    Thanks! :D

  • @user-fz3ry9vo5g
    @user-fz3ry9vo5g7 ай бұрын

    Thanks 🎉🎉🎉

  • @realtirtha
    @realtirtha9 ай бұрын

    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 Жыл бұрын

    very usefull for beginers

  • @igmtink
    @igmtink2 ай бұрын

    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-qr5fs5yi2v8 ай бұрын

    Great !

  • @ferrywijaya6404
    @ferrywijaya64044 ай бұрын

    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
    @namhoai52829 ай бұрын

    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
    @izzedeenalfarra12282 ай бұрын

    Js hero !!

  • @ozycozy9706
    @ozycozy9706 Жыл бұрын

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

  • @justinnoor4915
    @justinnoor4915 Жыл бұрын

    Yes!!!

  • @CodeClem
    @CodeClem Жыл бұрын

    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
    @HORKimhab2 ай бұрын

    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.

  • @ansonthedev

    @ansonthedev

    Жыл бұрын

    Brave Browser

  • @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

    Жыл бұрын

    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
    @andrejkling38864 ай бұрын

    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 ай бұрын

    @@ansonthedevmissing react with postgresQl DB 🎉

  • @Charles_001
    @Charles_001 Жыл бұрын

    What browser are you using for debugging? cool

  • @ansonthedev

    @ansonthedev

    Жыл бұрын

    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
    @jaisuperawesome5 ай бұрын

    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
    @LauraCasaBlanca108 ай бұрын

    This is the start of a comment thread.

  • @thiagowatanabe5087
    @thiagowatanabe5087 Жыл бұрын

    Do you have paid NestJS courses?

  • @ansonthedev

    @ansonthedev

    Жыл бұрын

    I do not! You can find almost everything you need to learn about NestJS on my playlist kzread.info/head/PL_cUvD4qzbkw-phjGK2qq0nQiG6gw1cKK

  • @Ro11ingBoy
    @Ro11ingBoy15 күн бұрын

    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!

Келесі