Chapter 6: Exploring Node.js web Frameworks
Node.js can be used as a tool to build a variety of systems, including microservices, real-time applications such as chatbots, and even robotics.
One of the most common use cases for Node.js is building web applications. As seen in Chapter 4, Using Web Protocols, Node.js core provides a range of low-level APIs that allow us to build web applications. As this use case is so common, many web frameworks have been created to abstract web protocols into higher-level APIs for building web frameworks.
In this chapter, we're going to build web applications using several of the most popular web frameworks to gain an understanding of their differences and similarities, and their suitability for specific tasks.
This chapter will cover the following:
- Building web applications with Express.js
- Building web applications with Koa.js
- Building web applications with Fastify
- Building web applications with Hapi