Chapter 9. Handling Web Requests with Express
Express is a powerful, unopinionated web application framework built on top of Node.js. It provides a highly pluggable interface and a few basic objects to handle the HTTP request response life cycle.
We have already begun working with Express, beginning our SPA with the Express generator. It's time to build things out further and learn more about the power of Express.
Express's true power comes from its minimal and unopinionated nature. It's highly flexible and extensible, making it a good tool for a number of web applications, single page, hybrid, even socket-based.
This chapter covers Express in more detail, starting with built-in objects. We will build out a number of routes, organizing the code of ...
Get Mastering JavaScript Single Page Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.