Node.js Crash Course (2024 Revamp)

Sdílet
Vložit
  • čas přidán 17. 05. 2024
  • This is an intro to Node.js. No frameworks or libraries. We will look at a bunch of the core modules including building a server with the http module.
    Code:
    github.com/bradtraversy/nodej...
    Express Crash Course:
    • Express Crash Course (...
    Node.js API Masterclass:
    www.traversymedia.com/node-js...
    Timestamps:
    0:00 - Intro & Slides
    12:18 - Installation
    13:22 - Node REPL
    15:05 - Setup & package.json Init
    16:51 - Running JavaScript Files
    19:36 - CommonJS Modules
    23:13 - ES Modules
    27:20 - HTTP Module & Create Server
    35:06 - NPM Scripts
    36:15 - NPM Modules & Nodemon
    38:45 - .gitignore File
    41:06 - Environment Variables & .env
    44:00 - Req Object
    46:10 - Marking Requests From Postman
    47:28 - Simple Routing
    51:52 - Loading Files
    59:45 - Building a Simple API
    1:10:27 - Middleware
    1:13:24 - Cleanup (Middleware & Handlers)
    1:19:08 - Get Req Body For POST
    1:24:20 - File System Module
    1:33:43 - Path Module
    1:39:50 - OS Module
    1:42:13 - URL Module
    1:47:46 - Crypto Module
    1:54:08 - Emitting Events
    1:59:04 - Process Object
  • Věda a technologie

Komentáře • 160

  • @aayush_dutt
    @aayush_dutt Před 25 dny +87

    Have been programming for 7 years in Node, will still watch this and I'll learn something new!

    • @jvenkatonline
      @jvenkatonline Před 24 dny +1

      always something is there to learn or will get a new perspective on the same code.🙂

    • @srijansagar1250
      @srijansagar1250 Před 20 dny

      can u explain what new thing u learnt ?
      im just asking

    • @jvenkatonline
      @jvenkatonline Před 19 dny

      @@srijansagar1250 If you watch the full video, something will be there - new to know.

    • @seyedatheeq4562
      @seyedatheeq4562 Před 3 dny

      Is this course enough for landing on a fresher node js job or internship?

    • @seyedatheeq4562
      @seyedatheeq4562 Před 3 dny

      ​@@jvenkatonlineIs this course enough for landing on a fresher node js job or internship?

  • @QuincyHyena
    @QuincyHyena Před 25 dny +5

    I just finished watching your previous node.js course yesterday and here you are dropping a new one. im a bootcamp graduate looking for up to date learning material so i can catch up and you came in clutch! thank you!

  • @binayaacharya8281
    @binayaacharya8281 Před 25 dny +3

    Yess! Thank you brad. I needed a crash course on node and this dropped just at the right time.

  • @cassettte
    @cassettte Před 25 dny +6

    You're awesome for making updated lessons like this.

  • @alexgordienko93
    @alexgordienko93 Před dnem

    brad just looked for nodeJS crash course ! thanks . did your old front to back & reactjs redux course and really enjoyed happy you back to creating courses!

  • @bl4ckshravi159
    @bl4ckshravi159 Před 25 dny +3

    Right when i needed it. Thanks Brad!!

  • @Valdaur
    @Valdaur Před 25 dny

    This couldn't come at a better time since I'm looking at continuing on from a backend project I started a few months ago but haven't got around to completing it. So I really need a refresher. Thanks Brad!

  • @swaggitypigfig8413
    @swaggitypigfig8413 Před 25 dny +15

    Mr Traversy is back with another course 👊

  • @dereklewis546
    @dereklewis546 Před 25 dny +2

    BRAD, YOU ARE THE ULTIMATE COMPUTER CODING GUY, I BEEN FOLLOWING YOU MANY YEARS, YOU TAUGHT ME NODE YEARS AGO, THANKS FOR UPDATES

  • @Fabio.T.outroconteudos-ul3pd

    Thanks Brad, good to keep the basics fresh in mind.

  • @bartmeeus9033
    @bartmeeus9033 Před 24 dny

    Dang you back with another banger course, even i use node daily i still watch it because some little things you point to fill up the spots i didn't know about, GREAT COURSE!!!

  • @nadeem-cp9is
    @nadeem-cp9is Před 23 dny

    omg, you read my mind , i was looking for node course for you and couldn't find something new so I thought what a shame bc I like the way you teach , and couple days later i see this video !! thanks

  • @DragonFruit9k
    @DragonFruit9k Před 4 dny

    thank you for this awesome refresher

  • @rauldinho
    @rauldinho Před 5 dny

    Great video Brad!

  • @mounir101
    @mounir101 Před 25 dny

    Thanks so much Brad for this brand new Nodejs crash course, it's really helpful.

  • @m24661
    @m24661 Před 14 dny +8

    Nodemon is no longer required. You can also use the in-built "--watch" flag with node command from node v18.11 and above.

    • @blkmlk
      @blkmlk Před 8 dny

      you are right, tysm

    • @m24661
      @m24661 Před 7 dny +1

      @@blkmlk you're welcome bro

  • @misc10k
    @misc10k Před 24 dny

    Can't thank you enough, Brad. This was excellent.

  • @KwizeraCaleb
    @KwizeraCaleb Před 25 dny

    I just finished watching your previous Node js course of 1 hour just few minutes ago, you added another hope this has much content than the previous

  • @jjmichael3782
    @jjmichael3782 Před 22 dny +3

    A new node video just in time. Odin Project still has your node crash course video from 5 years linked.

  • @YK_data
    @YK_data Před 24 dny

    Good job. Appreciate it. It is good to see people still care about vanilla node js. The less framework and package, the better software.

  • @jimoholuwasegun9392
    @jimoholuwasegun9392 Před 25 dny +1

    Watching from Nigeria. Great crash course as always!

  • @London2ATL
    @London2ATL Před 25 dny +9

    My guy Brad 👊🏿. Just giving you a shout-out. Keep up the good work

  • @infinitedope77
    @infinitedope77 Před 25 dny

    Much needed tutorial sir ✨🔥

  • @eriikelnino6545
    @eriikelnino6545 Před 25 dny

    I enjoy this crash courses by Brad (First was React JS and now Node JS)

  • @_hamzahmd_
    @_hamzahmd_ Před 25 dny +1

    Great. Saving it for later.

  • @jimparsons6771
    @jimparsons6771 Před 25 dny +4

    Brad it will be great if you can make a latest crash course on Docker in your style ❤

  • @sanjaybatak3549
    @sanjaybatak3549 Před 25 dny

    Massive love Brad 👏

  • @okkaraung9512
    @okkaraung9512 Před 25 dny

    You are a life saver. I love you, man.

  • @qaiseriqbal2696
    @qaiseriqbal2696 Před 25 dny

    we love you brad !

  • @muhammadans7071
    @muhammadans7071 Před 21 dnem

    now waiting for your next crash course on express. bro i learned many from your channel. you a real js ninja. best of luck

  • @ProgrammingwithUmair321

    Good work Brad 👏

  • @funkdoc2001
    @funkdoc2001 Před 9 dny

    A ‘what js you should know before starting node & express’ course would be great! No DOM stuff etc

  • @bhargavkumar
    @bhargavkumar Před 25 dny

    Good refresher

  • @ElonTusk..
    @ElonTusk.. Před 25 dny

    Thanks Brad :)

  • @ThanujaFernando-vu5dh
    @ThanujaFernando-vu5dh Před 25 dny

    Brad is always good

  • @aristide_F
    @aristide_F Před 25 dny

    thanks a lot brad

  • @NooglerNafiz
    @NooglerNafiz Před 22 dny

    Thanks Brad.

  • @afrazhussain3778
    @afrazhussain3778 Před 25 dny

    thanks for helping us alot

  • @chivicks_hazard
    @chivicks_hazard Před 25 dny

    Brad is back ❤

  • @HKOVENOM
    @HKOVENOM Před 16 dny +4

    __dirname is back in Node.js with ES modules:
    import.meta.dirname // The current module's directory name
    import.meta.filename // The current module's file name

  • @cholo2605
    @cholo2605 Před 21 dnem

    Thanks Brad!!!!!

  • @felixkuluchumila5262
    @felixkuluchumila5262 Před 25 dny

    Time To Start over again, thanks #Brad!

  • @codermeloman3030
    @codermeloman3030 Před 17 dny +1

    So good you don't use any frameworks. Thank you!

  • @ramortega
    @ramortega Před 9 dny

    I am currently learning NodeJS and ExpressJS now and this is the best video that suit for my studies thanks man for your hardwork and dedication.

  • @akmayank856
    @akmayank856 Před 17 dny

    really needed it, thanx

  • @dilrukshiperera-yo5br
    @dilrukshiperera-yo5br Před 20 dny

    Thank you. It was a useful video.

  • @Truth__Nature
    @Truth__Nature Před 25 dny

    Yesterday I finished the tailwindcss and started react and next needed a node js course and meanwhile him dropping this crash course ❤️

  • @ways.
    @ways. Před 25 dny

    You're amazing!

  • @adeshinavictor3615
    @adeshinavictor3615 Před 25 dny

    Just finished learning the basics of react, but my next project requires some backend for authentication, cause I don't wanna get into tools like firebase etc,
    This course came right on time, I really appreciate this sir

  • @reginold5988
    @reginold5988 Před 25 dny +4

    Express.js and MERN stack with typescript this time please

  • @not_amanullah
    @not_amanullah Před 24 dny

    this is helpful 🖤

  • @thecodingchef9292
    @thecodingchef9292 Před 23 dny

    can't wait for the express crash course, thank you for this

  • @pavankumar-of4ew
    @pavankumar-of4ew Před 10 dny

    Brad ! really you simplified my life, by teaching professional

  • @JamalKhan-dq4nz
    @JamalKhan-dq4nz Před 9 dny

    I started learning html and css from you and i still believes that the enter into tech and getting my first job as frontend react developer is happened because of you. thank you. And I still believes that I will be fullstack because of you.

  • @cbbcbb6803
    @cbbcbb6803 Před 24 dny

    Thank you!

  • @muhammadans7071
    @muhammadans7071 Před 25 dny +1

    As usual outstanding ❤. You are the real js Cheetah 🐆

  • @muhammedbojang5495
    @muhammedbojang5495 Před 25 dny

    Keep up the good job mentor

  • @salmanfarshisajib6512
    @salmanfarshisajib6512 Před 11 dny

    Thank you.

  • @bmehder
    @bmehder Před 24 dny

    This one's a banger.

  • @sapurachewae9805
    @sapurachewae9805 Před 24 dny

    Thank you

  • @MohammadDLitoo
    @MohammadDLitoo Před 24 dny

    awesome content Brad 🙏 would you consider make a crash course about FastApi as well ?

  • @_chris_6786
    @_chris_6786 Před 24 dny

    Thanks!

  • @tonyvito5062
    @tonyvito5062 Před 22 dny

    Just Brad's voice relaxes me

  • @likandokayombo
    @likandokayombo Před 25 dny

    This is great

  • @alireza5430
    @alireza5430 Před 14 dny

    so hype for revamping EXPRESS crash course

  • @ricardocnn
    @ricardocnn Před 21 dnem

    Awesome video! Waiting for the new Express.js Crash Course!

  • @voldermort
    @voldermort Před 25 dny

    The analogy is a masterpiece😂😂

  • @beynod_ordinary
    @beynod_ordinary Před 25 dny

    Tech question: When we should be using Node/Express due to Async nature in compare to RoR, Laravel and other?

  • @DanialToor-jb2hw
    @DanialToor-jb2hw Před 25 dny

    amazing, will you be doing Express soon as well?

  • @dyaralatere
    @dyaralatere Před 24 dny

    Amazing .. I'd Love to know what extension that is for postman

  • @bazz6932
    @bazz6932 Před 25 dny

    Awesome 😅

  • @Knock_O_ut
    @Knock_O_ut Před 24 dny +1

    You are best 👍👍

  • @browsermage
    @browsermage Před 13 dny

    Since I'm just re-entering the node ecosystem, this walkthrough is incredibly helpful. Do you think the --watch flag is too unstable since you are using nodemon?

  • @biggand8520
    @biggand8520 Před 22 dny

    There are also some core tools for zip and unzip, so to say, data, for instance before saving heavy data to the db. External tools can occurs stuck overflow, but core ones don’t

  • @karmaakabane9273
    @karmaakabane9273 Před 25 dny

    Hell yeaahhhhh!!!!!

  • @tech_channel110
    @tech_channel110 Před 25 dny

    good work
    bring devops and cloud lectures also

  • @Ccoding_Life
    @Ccoding_Life Před 25 dny +3

    i liked and downloaded the video without watching it since i fully believe that they always release highly supportive videos. um at library forgetting my earphone. that is why i didn't watch. show me the video value by like.....

  • @princesamuel3951
    @princesamuel3951 Před 23 dny +2

    Hey Traversy.
    Can you please revamp the Express crash course.? The one I found is about 6yrs old.
    PROTEST!!!
    I am not learning express until you release your new crash course.😂

    • @becom1ng
      @becom1ng Před 11 dny

      An updated course was just release. :)

  • @tomzybright9611
    @tomzybright9611 Před 25 dny

    Brad the great

  • @mern_stack662
    @mern_stack662 Před 25 dny

    thanx bosss😍😍

  • @tarekt8571
    @tarekt8571 Před 25 dny +1

    YOU are a HARD MAN😁

  • @Rajesh-rg6fw
    @Rajesh-rg6fw Před 24 dny

    Can you bring part 2 of this video where the advance things like worker thread,child process, memory management, streaming, like thing. That was mostly asked in the interviews.

  • @user-uy4qp1qx3n
    @user-uy4qp1qx3n Před 25 dny

    Great!. Thanks for this treasure!. Please, do a nginx course for beginners to advance. 🙏

  • @amitraky
    @amitraky Před 23 dny

    Hi,
    I want to implement command line tools for my project that will collect some CPU, ram, and disk status every minutes so which language is best for me ??

  • @user-kn8jl1cw2x
    @user-kn8jl1cw2x Před 24 dny

    May I ask why recently i keep encountered unable to verify leaf signature.. even just simple running an npm or running the next js app in local machine does it really need to configure the ssl in my machine even in local dev?

  • @thewalrusdragon9579
    @thewalrusdragon9579 Před 9 dny

    I'm sure this is ten millionth time you've been told this but I feel like Will Hunting is teaching me node...

  • @nithin9934
    @nithin9934 Před 24 dny

    hey brad, can you make one of these for angular, thanks.

  • @SalimAnsari-qy7nb
    @SalimAnsari-qy7nb Před 25 dny

    Thank u Big brother 😊💞 I like js💓💓

  • @stefandili2650
    @stefandili2650 Před 12 dny

    At 51:48 based on the code logic, shouldn't the error be 'method not allowed'?

  • @misc10k
    @misc10k Před 23 dny

    What are your thoughts on an Angular Crash Course update? Would it be justified based on changes since? Thanks for your insight.

  • @samkabiru8805
    @samkabiru8805 Před 22 dny

    I saw somewhere that when using type as module you have to use the .mjs for files rather than .js. Is this a convention or ?

  • @riyadondiraitreda2819
    @riyadondiraitreda2819 Před 24 dny

    Hi bro! I watched your vidéo about doing a crud api with only nodejs and i like it thé fact that WE use only without express or other framework i felt intelligent wooow Can Do to us other vidéo exploring all fonctionnalité of vanilla nodejs

  • @rauchu5861
    @rauchu5861 Před 24 dny

    TRAVERSY I FUCKING LOVE U LOL I JUST LEARNED ABOUT NPM YOU MAKE THIS EASY MY AMIGO

  • @Chudagbit
    @Chudagbit Před 24 dny

    Something seems not right on my computer. For some reasons I can't reference variable like ${vaName} also after creating the .env file the program keeps saying running on port undefined. I have even tried refreshing but still the same issues.am on a Linux mint running node 21.7.3

  • @meza0180
    @meza0180 Před 11 dny

    Hi sir, sorry just messege you in here, i've been complete and follow along your course about proshop v2, and now i cant deploy to production because render is paid in my country, so my question is how to deploy with another way, with a free platform like varsel and also with that structure of folder that you 've been teaching, again sorry to asking this, pls reply

  • @lakshitsagar6299
    @lakshitsagar6299 Před 22 dny

    Hi Brad, Can we expect a HonoJS crash course? have been trying to dig through docs and there are no good tutorials. Docs were helpful but still need some more insights from someone experienced.

  • @riigel
    @riigel Před 25 dny

    can you make tutorial for tauri with svelte?

  • @bpdkuikel
    @bpdkuikel Před 19 dny

    Hey Brad. Please make a crash course on go too.

  • @turgunov28
    @turgunov28 Před 25 dny

    finally

  • @mattmsmith
    @mattmsmith Před 16 dny

    QUESTION BRAD: I am interested in ASP .NET C# Development, manipulating APIs, etc. I am about to graduate with my Bachelor's in Software Engineering. I am interested in big companies because of the job security and structure. Banks, Finance, Real Estate, Health, Manufacturers, etc.
    Which framework out of Angular and React would you recommend, I specialize in? I am based in Austin Texas