Thank you for taking the time to make these videos. Its crazy how much express cuts down on the boiler plate code. I went along with your Node.js video with the switch case etc to serve files which worked out to being around 55 lines of code, express accomplished the same functionalities in 7 lines.
Despite being a Senior DevOps Software Engineer, I always learn something new when Brad teaches. This crash course encapsulates the nuances of building an API, even if it’s a multi-billion dollar API. It all boils down to this basic concept. Thank you, Brad ❤
Oh my GOD.... you dare you to be so amazing!!!. I took NodeJs Crash course.. and made a whole scraper for 5 to 6 websites... which takes data using "RAW NODE JS" .. without express, it was hell of work. But I really like working from the scratch, so I really enjoyed. Now, this expressJS is super sweet to me.. I have been pausing the video before any new thing.. try it myself and then let the video play.. really loving it. ❤
Hi Brad, loving your tutorials this year, especially on React, Node.js, and Express.js! I've been following along and was wondering if you could consider doing a series on MongoDB next. It would be awesome to see how we can integrate it with these technologies for a full MERN stack project!
Quite new to your work and channel and currently operating a career switch to web dev. This content and the Node.js crash course are perfect! It is kind of overwhelming but hopefully after applying what I've learned here to my school project, I will understand it better. Thank you so much for such high quality and well delivered content! 🙏
Dear Brad, I am one of your subscribers and always find new things to learn whenever I watch you. I was wondering if there is a chance to make a website using javascript as a front-end and expressJS as a backend and it will be lovely if you can make it with authentication and sessions. I hope to see that courses coming up because you are among the best that can deliver information... Best regards
I worked with Express but got so tired of having to work for hours setup basic stuff like login/logout/forget password and so on, so I moved to the more active in development complete framework, Laravel, and it's working great!
Hey Brad, Codeium is exactly following your tutorial. When you mistakenly used ES modules instead of CommonJS, the Codeium first generated the export default posts; and then it changed it into module.exports = router; 🤣🤣
Hey Brad, pretty informative course, thank you. Wanted to ask about watching. --watch is not working on virtual environments such as vagrant (at least I could not make it working). I ended up using nodemon with polling. Maybe you have tested this feature with such environments?
Im trying to code along with this video, but at 36:00, I am getting this error whenever the req url is set to /posts/not-in-posts: TypeError: Cannot read properties of undefined (reading: 'id') Has anyone got the same thing and have a fix for this?
Oops, I figured out my issue... When I had hardcoded the posts array, I copied and pasted the json, but unbeknownst to me, there were extra commas between the objects.
Remember: (i was having issue with post data, which was not posting). Always use middleware i.e. -------> app.use(express.json()); -------> app.use(express.urlencoded({ extended: false })) before routes //Route's definition. -------> app.use('/api/posts', posts);
thanks for the video, its very good for the beginners.. i have a request, can you make a beginner friendly video on Clean Code ? about repositiory pattern ? I mean how can we implement to our Backend Typescript project ? I have watched other videoes but couldnt understand a bit.. since you are very good in teaching may be you can help ?
@brad can you please share the github repository for the express-crash so that we can take a reference since your repository has old file and the github link which you shared for express-crash is not working.
Really would prefer the errors not be left in as I prefer to pause and try to complete the examples myself. The switching between common js and module js syntax, for example, caused Brad to make an error exporting which wasn't obvious until he saved, but since I was trying to complete it myself with his errors still in the code from following along, it was confusing. Errors being left in to illustrate a point is one thing but I don't get the sense that Brad is sprinkling in errors like easter eggs but rather that he is winging it at times and then not editing out his errors.
With all due respect, love your efforts, however I don't think you have explained enough when it comes to middlewares' order of execution and its short-circuit trait and how middlewares together with route handler fit into the picture nicely (such as if route handler does a .json or .send it wouldn't pass into the next middleware and the order middlewares are defined matter).
hey men i really love the like your video it is deep and very helpful but right now i really struggle about file management like every time when i want to do some practice i always install react app again and again specially i am very confused by the installation of necessary files like nodemon , express ,node ,buble and run my file on terminal and like so on things really hard for me so can you make a tutorial video on how to handle files and folders, do we have to install every time when we want run our app or so many things please?!
I just connected to a different network and whenever I make requests using Postman I am getting an Error: Invalid IP address: undefined. Can anyone help me? I am totally new to this.
I don't work with Node and don't have any plans to. However, I still watched the whole video just because 1) your effort; 2) your skills; 3) I always learn something from you - in this case, one of the things was the Postman extension. Sure I learned a bunch of other little cool stuff. During the video, I couldn't escape thinking about what drives you into making these videos with such a level of care. Amazing. Thanks a lot.
Please make a video on auto generating swagger docs for express, i tried it but i was not able to give any custom tags for the swagger docs , video on that would be helpful
Thank you for taking the time to make these videos. Its crazy how much express cuts down on the boiler plate code. I went along with your Node.js video with the switch case etc to serve files which worked out to being around 55 lines of code, express accomplished the same functionalities in 7 lines.
This videos coming out right when I'm learning React and Node.js/Express feels like it's heaven-sent!
Despite being a Senior DevOps Software Engineer, I always learn something new when Brad teaches. This crash course encapsulates the nuances of building an API, even if it’s a multi-billion dollar API. It all boils down to this basic concept. Thank you, Brad ❤
I wish I could get better at programming. No one ever has the right answer
@@the000gamer96there's almost always more than one right answer
You're the OG of TH-cam web tutorials. I'm a fan of your style of videos. Looking forward to what I assume will be a revamped Mongo crash course soon.
Thanks for this great combo of a refresher and important pointers.
Oh my GOD.... you dare you to be so amazing!!!. I took NodeJs Crash course.. and made a whole scraper for 5 to 6 websites... which takes data using "RAW NODE JS" .. without express, it was hell of work. But I really like working from the scratch, so I really enjoyed.
Now, this expressJS is super sweet to me..
I have been pausing the video before any new thing.. try it myself and then let the video play..
really loving it. ❤
dude is making mern stack course by dropping react , node now express js 👍
You made me realise that 😊
Do nestjs
now I expect MongoDB crash course dropping next
Hi Brad, loving your tutorials this year, especially on React, Node.js, and Express.js! I've been following along and was wondering if you could consider doing a series on MongoDB next. It would be awesome to see how we can integrate it with these technologies for a full MERN stack project!
I just want to express my thanks for your hard work! Looking forward to watching this.
Ha. Express. Get it?
@@lachieyoung1374 fine fine you're cool 😂
Quite new to your work and channel and currently operating a career switch to web dev. This content and the Node.js crash course are perfect! It is kind of overwhelming but hopefully after applying what I've learned here to my school project, I will understand it better. Thank you so much for such high quality and well delivered content! 🙏
love it Brad, thanks for this, very timely. Would love to see a deep dive on user auth and or working with sqlite db using express next!
Every single concept is explained nicely and easily. Loved it to the moon and back ❤
this tutorial teached me much more than express, thanks alot!
Dear Brad, I am one of your subscribers and always find new things to learn whenever I watch you.
I was wondering if there is a chance to make a website using javascript as a front-end and expressJS as a backend and it will be lovely if you can make it with authentication and sessions.
I hope to see that courses coming up because you are among the best that can deliver information...
Best regards
Thanks for making this. Wanted a crash course to revise my concepts and this helped a lot!
Thank Brad, I've long been waiting for this
Thank you sir
I have been waiting for this 🙌🔥
At 1:36:00, you are just adding empty divs, then showing all posts, which looks correct because it kind of does same thing.
The GOAT for long form programing courses
Outstanding Express.js Crash Course ❤❤❤
Thanks, I am about to learn Node/Express and this is much helpful at this moment.
I worked with Express but got so tired of having to work for hours setup basic stuff like login/logout/forget password and so on, so I moved to the more active in development complete framework, Laravel, and it's working great!
Really good explanation. please have have a short course of nest js next time
Thanks for this I am learning NodeJS and ExpressJS now and this video is i need
Excellent course, a Typescript or PHP version of the API would be amazing.
this revamp was much needed !!! Thank You so much
thanks a lot bro, i was requesting you on your last node js crash course for express crash course. it is superb amazing tutorial as usual
Great tutorial, very useful.
I wish you also included database, too.
Hey Brad, Codeium is exactly following your tutorial. When you mistakenly used ES modules instead of CommonJS, the Codeium first generated the export default posts; and then it changed it into module.exports = router; 🤣🤣
Hey Brad, pretty informative course, thank you. Wanted to ask about watching. --watch is not working on virtual environments such as vagrant (at least I could not make it working). I ended up using nodemon with polling. Maybe you have tested this feature with such environments?
Hey man, any plans on a mongodb crash course too ?
Don't endorse express. But watching because the teacher is Brad.
Thanks Brad. You are surely a blessing
I think you can also get the dirname and filename now with ES6 modules by doing import.meta.dirname and import.meta.filename
Fantastic Brad, thanks for sharing
Im trying to code along with this video, but at 36:00, I am getting this error whenever the req url is set to /posts/not-in-posts:
TypeError: Cannot read properties of undefined (reading: 'id')
Has anyone got the same thing and have a fix for this?
Oops, I figured out my issue...
When I had hardcoded the posts array, I copied and pasted the json, but unbeknownst to me, there were extra commas between the objects.
Thank you very much Brad... Excellent tutorial as always. The github link is not working
You're an awsome teacher!
Thank u so much please do one rust course end to end
Remember: (i was having issue with post data, which was not posting).
Always use middleware i.e.
-------> app.use(express.json());
-------> app.use(express.urlencoded({ extended: false }))
before routes
//Route's definition.
-------> app.use('/api/posts', posts);
thanks for the video, its very good for the beginners.. i have a request, can you make a beginner friendly video on Clean Code ? about repositiory pattern ? I mean how can we implement to our Backend Typescript project ? I have watched other videoes but couldnt understand a bit.. since you are very good in teaching may be you can help ?
Hi Brad and thanks.
@brad can you please share the github repository for the express-crash so that we can take a reference since your repository has old file and the github link which you shared for express-crash is not working.
Thank you for your labor!
I wonder is it only me or is there anyone else that favorite EJS over React?
Really would prefer the errors not be left in as I prefer to pause and try to complete the examples myself.
The switching between common js and module js syntax, for example, caused Brad to make an error exporting which wasn't obvious until he saved, but since I was trying to complete it myself with his errors still in the code from following along, it was confusing.
Errors being left in to illustrate a point is one thing but I don't get the sense that Brad is sprinkling in errors like easter eggs but rather that he is winging it at times and then not editing out his errors.
This time MERN courser with TYPESCRIPT please
Sakto! Thanks for this :>
thank you for your efforts
Great Sir 🎉🎉
is it better to use "node:path", instead of 'path'? And use it for all built-in methods just not to confuse with npm libs?
Interesting your opinion.
Greetings! Please tell me which vs code theme are you using?
The specified URL to the repository does not work. Can you revise it please?
Good video and very informative for new learners
Thanks for sharing.😊
Amazing tutorial
Great!!!
It would be better if you could update your angular course as well...
Please make one for NestJS :") Wanting to get into a backend framework which has almost everything setup :"D
Nestjs docs pretty much have everything you need, check them out. Its really not that scary
Amazing 💥💥
thanks brad
why does post come back undefined?
Thank you very much ❤
With all due respect, love your efforts, however I don't think you have explained enough when it comes to middlewares' order of execution and its short-circuit trait and how middlewares together with route handler fit into the picture nicely (such as if route handler does a .json or .send it wouldn't pass into the next middleware and the order middlewares are defined matter).
Thank you!
Code from video now is invalid....
Hey Brad, I can't find the code on your github. Thanks for the great tutorial and wish you the best!
which theme are u using?
hey men i really love the like your video it is deep and very helpful but right now i really struggle about file management like every time when i want to do some practice i always install react app again and again specially i am very confused by the installation of necessary files like nodemon , express ,node ,buble and run my file on terminal and like so on things really hard for me so can you make a tutorial video on how to handle files and folders, do we have to install every time when we want run our app or so many things please?!
Express + firebase is Good combination in backend?
I wouldn't include the @route comment in your controller. The controller doesn't care about what route it lives at.
When everyone praising Hono? Brad is pushing express back on it feet
is the github link working for you guys?
no
not for me
I just connected to a different network and whenever I make requests using Postman I am getting an Error: Invalid IP address: undefined. Can anyone help me? I am totally new to this.
loved it...
I prefer the Rapid API extension over postman. Hardly anyone uses it.
do we still need express with frameworks like nextjs?
1:00:29 The Error Handler stuff was less clear then everything else discussed so far
thanks
Yoo do the angular one and vue
please make hayperExpress course 🙏
Bun with Hono for the next video???
Next mongodb then mern project 😍
PostgresSQL please - (PERN)
The github link doesn't work...
#Golang FTW 💪🏻
Esoteric. Niche. Fewer jobs than node and python
please provide the source code sir!
404 Typescript not found
igot error unexpected token export
module.exports = router;
38:52
>backend in js when we have python, java, go, c#
💀💀💀💀
Node js is better than python for the backend
Why the hell is he using JavaScript over typescript in 2024
44:11
Hey Brad, can't find the source code! (link in the desc seems broken). Also thanks a lot for the video❤
The specified URL to the repository does not work. Can you revise it please?
please make hayperExpress course 🙏
The git repo link doesn't work
I don't work with Node and don't have any plans to. However, I still watched the whole video just because 1) your effort; 2) your skills; 3) I always learn something from you - in this case, one of the things was the Postman extension. Sure I learned a bunch of other little cool stuff. During the video, I couldn't escape thinking about what drives you into making these videos with such a level of care. Amazing. Thanks a lot.
Pls i really want to ask a question since you have watched the full course, did he talk about JWT for authentication and authorization
Thank you very much sir.... Your content is a GEM.
Please make a video on auto generating swagger docs for express, i tried it but i was not able to give any custom tags for the swagger docs , video on that would be helpful
1:25:14 blew my mind... wtf
lol same