YoVDO

Express Crash Course 2024 - From Setup to EJS Templates

Offered By: Traversy Media via YouTube

Tags

Web Development Courses Node.Js Courses Postman Courses CRUD Operations Courses JSON Courses Middleware Courses Routing Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX