Building a Web Server
Web servers are the quintessential applications to be built with Node.js. This is due to Node.js’s main goal. Node.js is perfect for building highly scalable, event-driven, networked applications—a web server.
In this chapter you will learn and understand how to build a web server with Node.js. You will see topics covered from simple web servers to handling static files on your server. These topics are only parts of making a web server work properly. To get a full understanding of the web server as it can be implemented via Node.js, you will also learn the following: