HTTP Servers and Clients

Now that you've learned about Node.js modules, it's time to put this knowledge to work by building a simple Node.js web application. In this chapter, we'll keep to a simple application, enabling us to explore three different application frameworks for Node.js. In later chapters, we'll build some more complex applications, but before we can walk, we must learn to crawl.

We will cover the following topics in this chapter:

  • EventEmitters
  • Listening to HTTP events and the HTTP Server object
  • HTTP request routing
  • ES2015 template strings
  • Building a simple web application with no frameworks
  • The Express application framework
  • Express middleware functions
  • How to deal with computationally intensive code
  • The HTTP Client object ...

Get Node.js Web Development - Fourth Edition 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.