Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Express Crash Course 2024 - From Setup to EJS Templates

Traversy Media via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Learn the fundamentals of Express, the popular web framework for Node.js, in this comprehensive video tutorial. Explore key concepts including setting up a basic server, handling routes, working with JSON data, implementing CRUD operations, and utilizing middleware. Dive into advanced topics such as error handling, controllers, and making frontend requests. Gain hands-on experience with practical examples, including setting up environment variables, using the Postman utility, and implementing the EJS template engine. By the end of this tutorial, you'll have a solid foundation in Express development and be ready to build robust web applications.

Syllabus

- Intro & Slides
- What is Express?
- Opinionated vs Unopinionated
- Prerequisites
- What we'll cover
- Express Setup
- Basic Server
- --watch Flag & NPM Scripts
- res.sendFile Method
- Static Web Server
- Working with JSON
- Postman Utility
- Environment Variables .env
- Request Params req.params
- Query Strings req.query
- Setting Status Codes
- Multiple responses
- Route Files
- Using ES Modules
- Request Body Data
- POST Request
- PUT Request
- DELETE Request
- Middleware
- Custom Error Handler
- Catch All Error Middleware
- Colors Package
- Using Controllers
- __dirname Workaround
- Making Requests From Frontend
- Submit Form to API
- EJS Template Engine Setup
- Pass Data to Views
- Pass and Loop Over Arrays
- Template Partials

Taught by

Traversy Media

Reviews

Start your review of Express Crash Course 2024 - From Setup to EJS Templates

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.