Begin your journey in back-end engineering by learning the essentials of Express.js. This course covers setting up a simple server, handling routes, serving static files, and managing basic middleware and errors.
Overview
Syllabus
- Lesson 1: Setting Up a Basic Express.js Server
- Configuring Your Express.js Server
- Fix the Express Server Bugs
- Create an Express Server Route
- Add Missing Parts in Express Server
- Setting Up Express Server
- Lesson 2: Serving Static Files with Express.js
- Updating Static File Directory
- Fix Errors in Express Server
- Serve Static Files with Express
- Delivering Static Files with Express
- Serve Static Files from Scratch
- Lesson 3: Basic Middleware and JSON Responses
- Custom Request Property
- Fix Middleware and JSON Responses
- Logging Requests and JSON Responses
- Request Logging and JSON Handling
- Middleware Logging and JSON Response
- Lesson 4: Adding Route Parameters and Query Parameters in Express.js
- Mastering Express.js Route Changes
- Fixing Express Route Parameters
- Complete the Express.js Parameters
- Adding Parameters in Express.js
- Writing Express.js Routes From Scratch
- Lesson 5: Handling 404 and 500 Errors in Express.js
- Change Errors to Handle
- Debug Express.js Error Handling
- Handling Custom Express Errors
- Handle Express Error Responses
- Write Your Own Express Error Handling