20.3. Express, A Web Framework

Node.js allows JavaScript on the serverside. It can be used for any JavaScript tasks as shown before, especially from the command line in the examples in Chapter 14. In serving HTML5 from a server Chapter 16 we had some issues with images and in the text we promised you a framework as a streamlined solution to those issues. This chapter presents one framework, the most ubiquitous of node frameworks, Express.

Here are 5 quotes from the https://expressjs.com/ frontpage about todays subject:

20.3.1. Express

Fast, unopinionated, minimalist web framework for Node.js.

20.3.2. Web Applications

Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.

20.3.3. APIs

With a myriad of HTTP utility methods and middleware at your disposal, creating a robust API is quick and easy.

20.3.4. Performance

Express provides a thin layer of fundamental web application features, without obscuring Node.js features that you know and love.

20.3.5. Frameworks

Many popular frameworks are based on Express.