NestJs Course for Beginners - Create a REST API

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

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

  • @CodeWithVlad
    @CodeWithVlad 2 года назад +651

    Thank you Beau!
    I really enjoyed making this course, I hope that it will be helpful to anyone who wants to learn about NestJs! 😊

    • @sirlionellord
      @sirlionellord 2 года назад +45

      Thanks Vlad

    • @kadeinvictus1759
      @kadeinvictus1759 2 года назад +29

      Thank you for your video. I finished it, it was excellent

    • @christophermaisch
      @christophermaisch 2 года назад +12

      Vlad, you are a legend bud! Keep it up, love the way you work!

    • @CodeWithVlad
      @CodeWithVlad 2 года назад +7

      @Ojeomokhai Samuel Thank you for asking. In fact I do. I will keep you guys posted on my channel!

    • @SeanJuice
      @SeanJuice 2 года назад +4

      getting this error , can help
      const core_1 = require("@angular/core");
      ^
      Error [ERR_REQUIRE_ESM]: require() of ES

  • @ciferr1032
    @ciferr1032 7 месяцев назад +746

    Where tf does youtube take me when I fall asleep

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

      🤣🤣🤣

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

      😂😂

    • @mr.waffles651
      @mr.waffles651 6 месяцев назад +12

      Omg for reallllll 😂

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

      They're trying to make us learn

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

      i can say i an a victim too😭

  • @solyaridz389
    @solyaridz389 2 года назад +7

    if you have hard time with docker like i did.
    Then run:
    docker pull postgres
    and chane postges-13 to postgres:latest in docker-compose

  • @victorbayas6296
    @victorbayas6296 Год назад +16

    For Windows users, instead of sleep 1 put node -e \"setTimeout(()=>{}, 1000)\" on your package.json
    PD: Thanks Vlad, one of the best courses I've seen 💯

  • @jolyonblazey
    @jolyonblazey Год назад +26

    Fantastic training by building an app while you watch, and explaining why stuff is important, but moving on quickly, such a broad coverage of different libraries and tools. I have watched it several times. This will be important for my new job. Thanks.

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

    I just switched from Rust/Axum to TS/NestJS. The developer experience with TS and NestJS is hands down beautiful.

  • @khoinguyenvu8091
    @khoinguyenvu8091 8 месяцев назад +1

    Never self-code API Backend but with only first time to watch your video, i understand many thing about it. Thank you very much!

  • @siwm6309
    @siwm6309 2 года назад +4

    I decided to develop my project with prisma and nest thanks to you. Your course very very clear and comprehensible.

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

    I've already watched half of it and am amazed by how good this video is. Tells you about many possibilities of nestjs and so easy to understand

  • @nanonkay5669
    @nanonkay5669 2 года назад +3

    I love this framework. I've only ever used Express and nest but I never want to look back again

  • @Beyram1501
    @Beyram1501 Год назад +8

    It is safe to say that I've never watched a better tutorial and I'm not even exaggerating. NestJS is amazing and explained by you seems even more amazing. wow, hope you have a udemy account so I can follow and purchase more of your courses.

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

    you are a very good teacher, the speed and explanation is just okay. i'm currently learning nestJS from this course .

  • @CollinCox-m9l
    @CollinCox-m9l 5 месяцев назад +1

    I would like to thank you for your continued support. I'm so grateful that someone is thinking about my well-being and career.. I will always remember everything you've done for me

  • @Yuta-cy5ox
    @Yuta-cy5ox 10 месяцев назад +1

    It was so amazing NestJS tutorial.
    I used to think that learning NestJS would be difficult for me.
    However, through this tutorial, I could understand the fundamental concept of NestJS.
    Thank you very much for your kind tutorial.

  • @alexlun4464
    @alexlun4464 Год назад +38

    Dude... you're a fantastic teacher. Hands-on approach is the only thing that works for me. The only time I really soak in information is when I apply it in practice. Thank you so much for this easy-to-follow tutorial.
    If you're a viewer finding this tutorial hard, don't despair. Many of us have a background in another backend framework (Ruby on Rails in my case) so we are very familiar with many concepts talked here. Just keep practicing until it sticks with you, we were all in your shoes once so you'll get there too.

  • @spamserv
    @spamserv Год назад +19

    I listened to around 45 minutes for now, and this seems like a really easy and intuitive way to teach. I read about NestJS and started utilizing it recently, but this video makes my understanding of NestJS really stronger and I appreciate it. You earned yourself another subscriber. :)

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

      I listened to around15 minutes and woke up at 3 hours 05 and have absolutely no idea what happened. Is food ready?

  • @reandov
    @reandov 2 года назад +14

    Hey man, just finished your tutorial. I am a frontend React developer for almost 2 years, I've been wanting to learn backend development for quite a while and your NestJS tutorial is simply amazing and well taught. Thank you!

    • @jasmeetsinghratra7551
      @jasmeetsinghratra7551 2 года назад

      Hey Evandro, did you know node-express before starting this? Can i start with it if i do now know about it?

    • @reandov
      @reandov 2 года назад +1

      @@jasmeetsinghratra7551 I knew but it's totally ok if you don't know. They're pretty much different but equally fine to learn

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

      I need a remote job@@reandov

  • @pankajkhushalani
    @pankajkhushalani 2 года назад +8

    ❤️ NestJS
    It makes backend dev so quick and the integrations with SwaggerUI and TypeORM are amazing!

  • @petarp3938
    @petarp3938 Год назад +25

    At 1:12 / 1:13, you will now probably have to replace "error instanceof PrismaClientKnownRequestError" with "error instanceof Prisma.PrismaClientKnownRequestError" and do "import { Prisma } from '@prisma/client'"

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

      Thanks this helped me to solve the issue!

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

      Thanks m8, this was helpful!

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

      ahh you already wrote that, didnt see it and wrote a comment about it too :)

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

      Great comment

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

      br i was stuck at this for a solid 15 minutes and decided to check the comments, tysm

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

    Some heads up fellow learners, I faced some issue: if you face issues, after changes to your schema, use npx prisma dev push, use import { Prisma } from "@prisma/client"; error instanceof Prisma.PrismaClientKnownRequestError for caching the error code.
    Great course.

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

    watched through it all while going to school, probably the best tutorial i have ever watched

  • @sunn-e
    @sunn-e 2 года назад +22

    If you get stuck somewhere, run `npm run build` from terminal. For eg; ValidationPipe issue.

  • @donang6157
    @donang6157 2 года назад +16

    Spent a long time searching for a good guide on using nestjs with Prisma and gotta say this is an amazing guide that came out at the right time.

  • @Sofien_Steve
    @Sofien_Steve 8 месяцев назад +1

    one of the best tutorials I've ever watched, totally worth the time

  • @saman6199
    @saman6199 2 года назад +25

    Everything about this tutorial was more than perfect, the walkthrough, detailed explanation and also the test environment setup, thanks for your hard work, much appreciate it.

  • @faraonch
    @faraonch 2 года назад +2

    A well done tutorial. I needed to catch up as my company uses NestJS and I've completely lost track. Now, I am back.

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

    This tutorial has been amazing. Everythings been clearly explained at a not too fast not too slow pace and your accent is cool too!

  • @nijojoseph
    @nijojoseph 2 года назад +50

    @1:22:30 for windows users use timeout 1 instead of sleep 1. Thanks.

    • @anthonychukwujekwu4192
      @anthonychukwujekwu4192 2 года назад

      Thank you so much. You just helped me solve this problem. I've been searching for a while now.

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

      Ayyy thanks

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

    2 hours and 22 minutes down, this course is absolutely amazing, and NestJs really is a powerful tool :D

  • @TheFern2
    @TheFern2 2 года назад +7

    This is one of the first fcc videos, that I watch from beginning to end. The instructor was just amazing and I learned tons of tricks along the way. I usually code api's at work with fastapi, but nestjs is a nice weapon for my arsenal. Thank you Vlad!

  • @marckraw
    @marckraw 2 года назад +21

    This is totally amazing. All the other tutorials touches only on some very basic stuff, and this is full proof stuff with test and all that! Really amazing job!

  • @antareephasan
    @antareephasan 4 дня назад

    Thanks a lot, Vladimir!
    I've been using Express for three years and was getting too comfortable, so I decided to learn NestJS since it's trending. After watching this course, I feel confident enough to start building apps with Nest.
    I didn’t expect the testing part, though-thank you! 💚

  • @CorentinClichy
    @CorentinClichy 2 года назад +4

    I rarely post comments, but when I get content like this, I need to!
    Thanks a lot for the good work, the explanations are clear and complete. Thanks a lot, it will definitely improve my nest js skill !

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

    One of the best courses from Free Code Camp!!

  • @jo0o0oke3e3er
    @jo0o0oke3e3er 3 дня назад

    When setting the PrismaModule as global, it would be beneficial to create a CoreModule responsible for registering it. Subsequently, the AppModule can import the CoreModule, resulting in a more streamlined and well-organized structure in terms of responsibilities. The CoreModule serves the purpose of facilitating the sharing of global resources, thereby providing clarity on what is considered global within the application.

  • @edisondsouza3404
    @edisondsouza3404 2 года назад +30

    What an amazing course! I am a react native developer. Found this tutorial so informative and easy to understand. Very well structured 👌 Would love to work with such developers ❤️

  • @MikeNicklas
    @MikeNicklas 2 года назад +3

    Great tutorial! Needed to write a new API for a side biz and was itching for something new. NestJs is very slick, glad I gave it a try. This is the first time I've felt that same productivity boost of Rails from the early days.

  • @josedomingoscassuandonge840
    @josedomingoscassuandonge840 2 года назад

    Hi, when i came here to watch this tutorial come having nothing knowlage about nest js, but now i'm very happy full cause i learn it in the best way with this tutorial thanks so match

  • @faridmammadov4277
    @faridmammadov4277 2 года назад +1

    If you are searching for best couse for nest js just read docs ) but tutorial is amazing

  • @elmirmahmudov6215
    @elmirmahmudov6215 2 года назад +11

    I was looking for a NestJs tutorial. You really read my mind) please make advanced version also🙏🏻 with projects

  • @mrumidjontv6235
    @mrumidjontv6235 2 года назад

    I don't know how to thank, man. It is the best tutorial I have ever seen on youtube. Just amazing!!!!

  • @user-ve2zu9fy7v
    @user-ve2zu9fy7v 2 года назад +8

    TBH this is the best youtube channel I've ever seen. Keep up the amazing work

  • @franckt2407
    @franckt2407 2 года назад +6

    This course is so amazing! What a wonderful legendary teacher! you properly introduce each concept theoretically and then trough practice you make things concrete in minds.

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

    This is the best course about Nest I was see, very complet and perfect learn. Thanks to all people that will made this possible. Hug!!!

  • @agenticai9352
    @agenticai9352 2 года назад +5

    Super solid tutorial - I've been using NestJS for about 6 months - it is a super solid platform for backend REST APIs. I went through this tutorial to learn more about Prisma as an ORM. I love the way you describing Prisma's automatic type generation as "very awesome" at 38:29 . Please make more content regarding NestJS best practices!

    • @nobytes2
      @nobytes2 2 года назад

      it is awesome because other orms have schemas and models as two separated files, so you have to do twice the work. For example in adonisjs with lucid orm you have to manage the model and migration file all by hand.

    • @Cognitoman
      @Cognitoman 2 года назад

      @@nobytes2 I actually like it that, keep your schemes and models separated that way they are not tightly coupled

  • @IncomingLegend
    @IncomingLegend 2 года назад +61

    I quickly browsed through the video and I have to say that this is high quality! Awesome job and thank you for sharing it! Perhaps we could see something similar done with a fullstack framework such as Nextjs or Nuxtjs?

    • @freecodecamp
      @freecodecamp  2 года назад +5

      Here is a good course about NextJS: ruclips.net/video/1WmNXEVia8I/видео.html

  • @kevingrondin974
    @kevingrondin974 2 года назад +2

    Thanks, it's great because Nest is most popular framework in nodejs, and prisma it's new orm 👍

  • @ruskanl-m2s
    @ruskanl-m2s Месяц назад

    лучшая связка - все сработало быстро и четко!!!

  • @universecode1101
    @universecode1101 2 года назад +7

    An another huge piece of Javascript 🔥

  • @jlaw1618
    @jlaw1618 6 дней назад

    Thank you so much! This tutorial is excellent. You are a wonderful teacher and your pacing and explanations were so deeply helpful.

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

    Thank you for an impressive tutorial.
    From someone like me coming from other languages like C#, Java. Then I really learned a lot and got a good understanding.

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

    This tutorial is amazing. I need another from this instructor for hosting the app in production!

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

    fell asleep watching yt and woke up to this video. it’s paused idk how but i’m 2hrs into this video

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

      Same here😂

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

    I have watched and also coded with tutors like 400 tutorials till today (I am counting the number =)) but this tutorial was one of the best tutorials I have ever watched by so far. Very neat, crystal, no questions in my mind, nothing like "tutor does something but you fail with the same code", very helpful. Thanks god there are streamers like Vlad!

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

    Very very nice tutorial. Just one regret is that there are too much testing for beginner tutorial, would have prefered to see a lit bit of client integration to display the CRUD oprations, but it doen't take out the amazing job done by Vlad. Thank you

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

    one of the best courses on nests Lotts of love FCC and Vlad

  • @habibielcomedor9158
    @habibielcomedor9158 2 года назад +2

    Thanks for the video, bro! As a note for improvement, the intricacies of the framework are not easy at all, especially for beginners, as the video is intended. I think the delivery of most concepts could be slower and more thoroughly explained.

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

    Such a great video for starting on nestjs. btw here a little update on 1:12:12
    if(error instanceof Prisma.PrismaClientKnownRequestError)
    {
    if(error.code === 'P2002'){
    throw new ForbiddenException('Credentials taken');
    }
    }

  • @loirenhuh
    @loirenhuh 2 года назад

    Bro you turned on the GOD MODE TEACHING.
    THANK YOU.

  • @sumeyyea
    @sumeyyea Год назад +8

    hey guys, if you had issues 02:05:01 that property 'user' doesnt exist on request , try to change Request | any , it solved this problem

    • @AbdulRehman-ui3nj
      @AbdulRehman-ui3nj Год назад

      thanks dude, i was looking for this comment

    • @ziggys.9768
      @ziggys.9768 Год назад

      Thanks, Any idea why the error happened?"

  • @pocketwalaali
    @pocketwalaali 2 года назад +2

    Vlad is a great teacher. Learnt so much from this course.

  • @Amandamai-k8u
    @Amandamai-k8u 4 месяца назад

    Канал супер, вы достойны миллионы подписчиков и лайков!

  • @KWalkerNNK
    @KWalkerNNK 2 года назад +2

    The lecture was excellent, it gave me a little insight into NestJS - This is a great framework!👨‍💻

  • @andreaho
    @andreaho 2 года назад +2

    Unbelievable! Folks sell such a course hundreds of dollars while it's freely delivered here. Keep it up, the world needs many more of you guys.

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

    I've watched the first hour of this video. I will continue watching, just wanted to say thank you so much. I really enjoyed following you and this tutorial was exactly what I needed. You got yourself a new subscriber. Keep up the good work 💪🏼👊🏼

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

    Fantastic video.. Learned a lot from this. Only one suggestion: At the beginning of the video if you cover what we are going to do with data models and some diagrams, it will help the beginners to understand the overall project.

  • @juliotavares3268
    @juliotavares3268 2 года назад +2

    Awesome Tutorial, NestJS maybe the best NodeJS Framework nowadays

  • @abhinrustagi
    @abhinrustagi 2 года назад +2

    The tutorial we needed on FCC.

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

    Great job with this, It cleared up a lot of stuff for me which I didn't completely get reading through the documentation, Sad to see he doesn't upload videos anymore

  • @MathiasEngineer
    @MathiasEngineer 2 года назад +7

    This was absolutely a awesome course, Thank you so much! Nest is a little weird with those decorators. Your icon pack in visual studio is different then mine they actually show the nest logo... I use night owl by Sarah Drasner for a theme and the icons vscode-icons. I highly recommend!

    • @MathiasEngineer
      @MathiasEngineer 2 года назад +1

      Also to have this free is great! I pay 40$ a month for frontendmasters

  • @kartikwatts7813
    @kartikwatts7813 2 года назад +2

    Thank you thank you so much, May God bless you. By far the most amazing tutorial I ever got to learn from.

  • @walidrashed3940
    @walidrashed3940 2 года назад +2

    Vladimir is very professional and I have learned a lot from him, thank you for making this high-quality course!

    • @meme_engineering4521
      @meme_engineering4521 2 года назад

      didn't know the Russian president makes programming courses as well, nice

    • @walidrashed3940
      @walidrashed3940 2 года назад +1

      @@meme_engineering4521 well, it's not easy to put food on the table nowadays because of the sanctions, he had to change his career!

    • @meme_engineering4521
      @meme_engineering4521 2 года назад

      @@walidrashed3940 haha nice one😂😂

  • @aislanarislou
    @aislanarislou 2 года назад +2

    Thanks for the awesome tutorial!!!! Please bring more ^_^
    But one suggestion: in the tests when you are making use of the "stores" funcionality from "pactum" lib to save variables to use further in next tests... it's not the best approach, because you are creating dependency between the tests when the recommended way is to write tests with scope isolated and independent of each other, so than when one test fails, it will not causing others failing in cascade.

  • @moutafatin
    @moutafatin 2 года назад

    Thanks for making this course. 1:13:15 (just to save where I was)

  • @Chris-vy4ml
    @Chris-vy4ml 2 года назад

    I enjoy this course very much. Just a nitpicking feedback, JWT is an id token, not an access token as in authorization.

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

    Loved every minute of this course ! Really thumbs up and lots of respect to the effort put in to make this awesome course. Thank you ☺

  • @shilongshu7922
    @shilongshu7922 2 года назад

    the most perfect tutorial of nestjs in the world!

  • @IbrahimAziz-rg3cb
    @IbrahimAziz-rg3cb 9 месяцев назад

    Best tutorial video I've ever watched!

  • @danial-dvd
    @danial-dvd Год назад

    amazing course ! thanks a lot Vlad :) ...i recommend this video to anyone who wants to learn the basic concepts of nest clearly

  • @PradeepKumarRai-c2t
    @PradeepKumarRai-c2t Год назад

    Thanks for this tutorial video.
    It helps me to start with NestJS and i think the way you explained it really awesome.

  • @esnoan
    @esnoan 2 года назад

    Thanks Vlad, this is the best nest js tutorial I've ever seen

  • @yadneshkhode3091
    @yadneshkhode3091 2 года назад

    Thank you this helped a lot i joined new company and they were using nest js and I wanted to learn if quickly and start working this helped a lot... Thank you 💘💘💘

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

    I went to sleep a normal man, I woke up as an elite programmer. We are not the same.

  • @holhorse3080
    @holhorse3080 2 года назад +5

    Adding _ValidationPipe_ in _main.ts_ didn't work for me, fixed it by running _npm run build_
    According to another comment it was due to the _dist_ folder not being updated properly

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

    Just completed what a nice video amazing sir

  • @alexandergrigoryan3359
    @alexandergrigoryan3359 2 года назад +3

    Thank you very much Vlad for so clean and great explanations. I recommend this course for everyone who is willing to learn by doing.

  • @ikechigreatness7893
    @ikechigreatness7893 Месяц назад +2

    I have docker desktop installed on my windows machine, after writing the docker-compose configuration file, docker compose up dev:db -d returned a “services.dev:db.environment.[0]: unexpected type map[string]interface {}

  • @oussamasadiki7377
    @oussamasadiki7377 2 года назад +10

    such a beautiful and easy to follow teaching, you do focus on explaining advanced concepts and giving us exactly what is going to make us PRO, SO MUCH LOVE TO YOU SIR

  • @SirSmoke-A-Lot69
    @SirSmoke-A-Lot69 Месяц назад

    Such an awesome tutorial! I really appreciate your work. Greetings from germany

  • @DanShepherd72
    @DanShepherd72 2 года назад +1

    Very comprehensive! I hadn’t even heard of NestJs until I saw this video and now I want to use it 👍

  • @abdellahbrahimi7217
    @abdellahbrahimi7217 2 года назад +2

    I was waiting for that Tutorial for ages, thanks!

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

    Thanks for the guide! I learn Nest and this course is good for understanding and first experience

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

    FOr some reason, throw ForbiddenException no longer working as showed in video

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

    Thank you! The information in this tutorial is compressed so much that it made me learn more than most 10+hrs content. This video is going to act as a quick reference handbook on nextjs for a while for me.

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

    The course is very nice, can't deny it but god i'm suffering it goes pretty fast, a LOT of new concepts / tools for me. After finishing it i have a better understanding of how nest js works but i could never do it by myself from 0.

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

    Great course!! (I'm in the middle of it right now)
    The thing I dont get, is why do we need to import everything multiple times.
    We create a prisma service. We import it in prisma module. We import the prisma module with that service into auth module. We import the prisma service into the auth module's service. Also, we need to additionally allow importing the service in another service.. I get feel that we importing everything at least twice...

  • @ragsbigfella
    @ragsbigfella 9 месяцев назад +1

    Thank for a wonderful video on NestJS

  • @huseyinozgul8173
    @huseyinozgul8173 2 года назад

    amazing course with Vlad's explanation

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

    All the Vladimir i know are awesome!

  • @AndRedRosesToo273
    @AndRedRosesToo273 2 года назад

    the pattern is very spring framework alike, excellent tutorial!