Express Crash Course

preview_player
Показать описание

Code from Video:

Timestamps:
0:00 - Intro & Slides
0:53 - What is Express?
2:28 - Opinionated vs Unopinionated
4:10 - Prerequisites
5:18 - What we'll cover
6:45 - Express Setup
9:00 - Basic Server
13:10 - --watch Flag & NPM Scripts
18:00 - Static Web Server
19:48 - Working with JSON
22:35 - Postman Utility
23:45 - Environment Variables (.env)
33:19 - Setting Status Codes
36:40 - Multiple responses
37:35 - Route Files
41:40 - Using ES Modules
43:47 - Request Body Data
47:53 - POST Request
50:23 - PUT Request
53:23 - DELETE Request
55:44 - Middleware
1:00:24 - Custom Error Handler
1:08:30 - Catch All Error Middleware
1:10:47 - Colors Package
1:14:17 - Using Controllers
1:20:45 - __dirname Workaround
1:24:29 - Making Requests From Frontend
1:30:03 - Submit Form to API
1:36:00 - EJS Template Engine Setup
1:41:15 - Pass Data to Views
1:42:50 - Pass and Loop Over Arrays
1:44:20 - Template Partials
Рекомендации по теме
Комментарии
Автор

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.

Brent-The-Carpenter
Автор

This videos coming out right when I'm learning React and Node.js/Express feels like it's heaven-sent!

ivanivanovik
Автор

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 ❤

techwithjesus
Автор

thanks for this man! needed the as i’ve been learning aws for about 5 months. just started coding again and need to get the rust of my shoulders!

moestaxx
Автор

You're the OG of YouTube 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.

bmehder
Автор

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

gullychan
Автор

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!

Mohammed-bsmc
Автор

Thanks for this great combo of a refresher and important pointers.

dee.s.
Автор

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.

ultrasys
Автор

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!

Jerementor
Автор

dude is making mern stack course by dropping react, node now express js 👍

exploreinsixtyseconds
Автор

Thanks for making this. Wanted a crash course to revise my concepts and this helped a lot!

ashishsng
Автор

Thanks, I am about to learn Node/Express and this is much helpful at this moment.

voboghure-dev
Автор

Amazing course brad, would love if you would also make a crash course on Nest JS in the future.

CodeClem
Автор

Thank Brad, I've long been waiting for this

aminumusa
Автор

I just want to express my thanks for your hard work! Looking forward to watching this.

Valdaur
Автор

Thanks for this I am learning NodeJS and ExpressJS now and this video is i need

ramortega
Автор

After learning Django and a bit of Laravel, Express seems so lightweight. I really like it. Thanks Brad!

atibyte
Автор

this revamp was much needed !!! Thank You so much

vikasdfghjlYT
Автор

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

muhammadans