Overview
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