Node.js Crash Course (2024 Revamp)

Поделиться
HTML-код
  • Опубликовано: 17 июн 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
  • НаукаНаука

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

  • @aayush_dutt
    @aayush_dutt Месяц назад +105

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

    • @jvenkatonline
      @jvenkatonline Месяц назад +1

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

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

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

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

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

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

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

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

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

  • @binayaacharya8281
    @binayaacharya8281 Месяц назад +4

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

  • @QuincyHyena
    @QuincyHyena Месяц назад +8

    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!

  • @cassettte
    @cassettte Месяц назад +8

    You're awesome for making updated lessons like this.

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

    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!

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

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

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

    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!!!

  • @swaggitypigfig8413
    @swaggitypigfig8413 Месяц назад +15

    Mr Traversy is back with another course 👊

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

    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!

  • @bl4ckshravi159
    @bl4ckshravi159 Месяц назад +3

    Right when i needed it. Thanks Brad!!

  • @nadeem-cp9is
    @nadeem-cp9is Месяц назад

    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

  • @Fabio.T.outroconteudos-ul3pd
    @Fabio.T.outroconteudos-ul3pd Месяц назад

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

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

    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

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

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

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

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

  • @cyborganic
    @cyborganic 18 дней назад

    Thanks for this detailed updated video on node!

  • @London2ATL
    @London2ATL Месяц назад +10

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

  • @jimoholuwasegun9392
    @jimoholuwasegun9392 Месяц назад +1

    Watching from Nigeria. Great crash course as always!

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

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

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

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

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

    Great video Brad!

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

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

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

    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.

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

      Bro in this video all node js topics are covered 🙄

  • @user-pt3hz6fi2x
    @user-pt3hz6fi2x 13 дней назад

    many thanks for such a course, for as a newbie developer it saved a tremendous amount of time and effort, ty so much!

  • @jjmichael3782
    @jjmichael3782 Месяц назад +3

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

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

    thank you for this awesome refresher

  • @m24661
    @m24661 Месяц назад +24

    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 Месяц назад

      you are right, tysm

    • @m24661
      @m24661 Месяц назад +1

      @@blkmlk you're welcome bro

    • @DenzelHooke
      @DenzelHooke 25 дней назад

      damn thanks man

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

      I am new how would I do this

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

      @@thewonderingworld9301 add -watch at the end of your npm run dev command

  • @_hamzahmd_
    @_hamzahmd_ Месяц назад +1

    Great. Saving it for later.

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

    Much needed tutorial sir ✨🔥

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

    Good work Brad 👏

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

    we love you brad !

  • @ThanujaFernando-vu5dh
    @ThanujaFernando-vu5dh Месяц назад +1

    Brad is always good

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

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

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

    1:24:00 section on fs file and all the flavors of doing a file data read is a nice intro to sync, Call backs, promises, async await . especially for a newbie like me

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

    Massive love Brad 👏

  • @Ipadstands
    @Ipadstands 20 дней назад

    I like the video already after only listening for 5 minutes !!!

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

    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

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

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

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

    Brad is back ❤

  • @dilrukshiperera-yo5br
    @dilrukshiperera-yo5br Месяц назад

    Thank you. It was a useful video.

  • @JamalKhan-dq4nz
    @JamalKhan-dq4nz Месяц назад

    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.

  • @pavankumar-of4ew
    @pavankumar-of4ew Месяц назад

    Brad ! really you simplified my life, by teaching professional

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

    Time To Start over again, thanks #Brad!

  • @muhammadans7071
    @muhammadans7071 Месяц назад +1

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

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

    Hello, Mr Traversy thanks. very good crash course

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

    really needed it, thanx

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

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

  • @carolineloppi7867
    @carolineloppi7867 24 дня назад

    Thanks a lot!! Great video!!

  • @jimparsons6771
    @jimparsons6771 Месяц назад +5

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

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

    Good refresher

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

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

  • @ElonTusk..
    @ElonTusk.. Месяц назад

    Thanks Brad :)

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

    thanks for helping us alot

  • @codermeloman3030
    @codermeloman3030 Месяц назад +1

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

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

    thanks a lot brad

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

    Thanks Brad!!!!!

  • @lindajazz6445
    @lindajazz6445 10 дней назад

    Beautiful man ❤‍🔥❤‍🔥

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

    Keep up the good job mentor

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

    Thanks Brad.

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

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

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

    Just Brad's voice relaxes me

  • @ways.
    @ways. Месяц назад

    You're amazing!

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

    this is helpful 🖤

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

    so hype for revamping EXPRESS crash course

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

    This one's a banger.

  • @Knock_O_ut
    @Knock_O_ut Месяц назад +1

    You are best 👍👍

  • @EugeneKoshelev
    @EugeneKoshelev 21 день назад

    Thanks a lot!

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

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

  • @huntervargo4237
    @huntervargo4237 7 дней назад

    thanks so much!

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

    The analogy is a masterpiece😂😂

  • @Rajesh-rg6fw
    @Rajesh-rg6fw Месяц назад +1

    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.

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

    good work
    bring devops and cloud lectures also

  • @diegoavendanohernandez9908
    @diegoavendanohernandez9908 26 дней назад

    beautiul tutorial

  • @tarekt8571
    @tarekt8571 Месяц назад +1

    YOU are a HARD MAN😁

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

    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

  • @HKOVENOM
    @HKOVENOM Месяц назад +5

    __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

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

    Thank you!

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

    Thank you.

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

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

  • @Ccoding_Life
    @Ccoding_Life Месяц назад +4

    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.....

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

    This is great

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

    Thank you

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

    Thanks!

  • @Ipadstands
    @Ipadstands 17 дней назад

    1:22:00 That was magic in the createUserHandler code. I have not seen the req.on('data' and req.on('end' before.

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

    Thank u Big brother 😊💞 I like js💓💓

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

    Awesome 😅

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

    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?

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

    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

  • @reginold5988
    @reginold5988 Месяц назад +4

    Express.js and MERN stack with typescript this time please

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

    Brad the great

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

    Hell yeaahhhhh!!!!!

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

    thanx bosss😍😍

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

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

  • @DanialToor-jb2hw
    @DanialToor-jb2hw Месяц назад

    amazing, will you be doing Express soon as well?

  • @surajkumar-wz1br
    @surajkumar-wz1br Месяц назад +1

    I apologize for the inconvenience caused. I have checked the video sound and confirmed that the volume is indeed low. Please check and fix the sound of your video.
    Great crash course as always! I appreciate your video and courses. thank you so much.

  • @nardoneleonard100
    @nardoneleonard100 13 дней назад

    Gemini says i should watch your tutorial if I want to learn node js

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

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

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

    Please make a mongoDB crash course these are so helpful!!

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

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

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

    2:02:32 , I think process.cwd may be the best way to get __dirname. assuming the application script process starts with cwd where script is
    Thanks I finally finished this video