Node.js Crash Course
HTML-код
- Опубликовано: 27 июл 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 - Наука
Have been programming for 7 years in Node, will still watch this and I'll learn something new!
always something is there to learn or will get a new perspective on the same code.🙂
can u explain what new thing u learnt ?
im just asking
@@srijansagar1250 If you watch the full video, something will be there - new to know.
Is this course enough for landing on a fresher node js job or internship?
@@jvenkatonlineIs this course enough for landing on a fresher node js job or internship?
Yess! Thank you brad. I needed a crash course on node and this dropped just at the right time.
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!
You're awesome for making updated lessons like this.
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!
bootcamp a company lo broo
Nodemon is no longer required. You can also use the in-built "--watch" flag with node command from node v18.11 and above.
you are right, tysm
@@blkmlk you're welcome bro
damn thanks man
I am new how would I do this
@@thewonderingworld9301 add -watch at the end of your npm run dev command
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!!!
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!
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
BRAD, YOU ARE THE ULTIMATE COMPUTER CODING GUY, I BEEN FOLLOWING YOU MANY YEARS, YOU TAUGHT ME NODE YEARS AGO, THANKS FOR UPDATES
Right when i needed it. Thanks Brad!!
Mr Traversy is back with another course 👊
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
Thanks for this detailed updated video on node!
Thanks so much Brad for this brand new Nodejs crash course, it's really helpful.
Thanks Brad, good to keep the basics fresh in mind.
Good job. Appreciate it. It is good to see people still care about vanilla node js. The less framework and package, the better software.
A new node video just in time. Odin Project still has your node crash course video from 5 years linked.
My guy Brad 👊🏿. Just giving you a shout-out. Keep up the good work
Watching from Nigeria. Great crash course as always!
Can't thank you enough, Brad. This was excellent.
I enjoy this crash courses by Brad (First was React JS and now Node JS)
now waiting for your next crash course on express. bro i learned many from your channel. you a real js ninja. best of luck
many thanks for such a course, for as a newbie developer it saved a tremendous amount of time and effort, ty so much!
Great video Brad!
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.
Bro in this video all node js topics are covered 🙄
thank you for this awesome refresher
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
Much needed tutorial sir ✨🔥
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
Yesterday I finished the tailwindcss and started react and next needed a node js course and meanwhile him dropping this crash course ❤️
Brad it will be great if you can make a latest crash course on Docker in your style ❤
Brad is always good
Great. Saving it for later.
You are a life saver. I love you, man.
Good work Brad 👏
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.
Massive love Brad 👏
we love you brad !
__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
Thanks
Thanks man, really appreciate your efforts
Thank you. It was a useful video.
1:55:36- Saying, "Goodbye, World." LOL. It sounds like you've had enough in life.
A ‘what js you should know before starting node & express’ course would be great! No DOM stuff etc
As usual outstanding ❤. You are the real js Cheetah 🐆
Brad is back ❤
Good refresher
Time To Start over again, thanks #Brad!
really needed it, thanx
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
thanks for helping us alot
Awesome video! Waiting for the new Express.js Crash Course!
can't wait for the express crash course, thank you for this
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.
Brad ! really you simplified my life, by teaching professional
Thanks a lot!! Great video!!
So good you don't use any frameworks. Thank you!
Express.js and MERN stack with typescript this time please
Thanks Brad :)
awesome content Brad 🙏 would you consider make a crash course about FastApi as well ?
I like the video already after only listening for 5 minutes !!!
thanks a lot brad
Hello, Mr Traversy thanks. very good crash course
Keep up the good job mentor
Thanks Brad.
Just Brad's voice relaxes me
You're amazing!
Thanks Brad!!!!!
this is helpful 🖤
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?
Tech question: When we should be using Node/Express due to Async nature in compare to RoR, Laravel and other?
so hype for revamping EXPRESS crash course
This one's a banger.
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.😂
An updated course was just release. :)
Amazing .. I'd Love to know what extension that is for postman
good work
bring devops and cloud lectures also
The analogy is a masterpiece😂😂
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.....
amazing, will you be doing Express soon as well?
You are best 👍👍
Brilliant!!!
I like your video. Can you tell which extension you are using when write node api?
Beautiful man ❤🔥❤🔥
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.
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
Thankyou so much, friend
YOU are a HARD MAN😁
1:22:00 That was magic in the createUserHandler code. I have not seen the req.on('data' and req.on('end' before.
Thank you.
Yehehehehesssss!!!! pure nodejs :D thank you
Brad, There is the watch flag in node version 20 and above, no longer experimental, that you can use instead of nodemon.
--watch to be exact
This is great
Anyone else having issues around 43:00 with the --env-file=.env? I'm getting an error that the option isn't supported. I researched it and found something that said to install dotenv, but still isn't working
Same here, have you figured how to fix it?
hey brad, can you make one of these for angular, thanks.
In the file system module section, just writting writeFile() and readFile() one after another didnt work for me, I just got the "File written to..." logged. But it woked when I forced the order of the function exec with another async function:
const main = async () => {
await writeFile();
await readFile();
};
Anywho, thanks Brad for the crash course!
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?
Thank u Big brother 😊💞 I like js💓💓
TS is better
Thanks!
Thank you!
which extension you use here, i don't get any suggestions while doing code, by the way it's interesting to practice first time on node js and explanation is very quite good enjoyed video. Thanks!
!!