Get started with the most popular web framework for Node.js.
Code from Video:
https://github.com/bradtraversy/expre...
Node.js Crash Course:
• Node.js Crash Course
14+ Hour Node.js API Masterclass Course:
https://www.traversymedia.com/node-js...
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
15:25 - res.sendFile() Method
18:00 - Static Web Server
19:48 - Working with JSON
22:35 - Postman Utility
23:45 - Environment Variables (.env)
26:30 - Request Params (req.params)
29:35 - Query Strings (req.query)
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
Watch video Express Crash Course online, duration hours minute second in high quality that is uploaded to the channel Traversy Media 07 May 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 103,464 times and liked it 3 thousand visitors.