Learn Express.js
Express.js is one of the most popular Node back-end web application frameworks used to build RESTful APIs.
If you are a front-end developer looking to expand your experience into backend development or a full-stack developer wanting to give Express.js a try, this guide will help you quickly get up-to-speed with Express.
You will master the core features of Express and build production-ready web APIs in no time at all.
TABLE OF CONTENTS
1. Introduction to Express
2. What Express is used for?
3. The core of Express
4. Starting an Express server
5. Express Routes
- Parts of a URL
- HTTP request methods
- Anatomy of a route
- A routing example
- Matching route paths
- Setting status codes
- HTTP status response codes
- Dynamic routes
- Query strings
6. Form handling with Express
7. Express middleware
8. Logging middleware - Morgan
9. Error handling middleware
- Anatomy of an error handling middleware
- http-errors
10. Error handling in async route handlers
11. Express Router
12. Conclusion
PDF file