Chapter 3. Managing Assets
The first two chapters were a good introduction to the building blocks and structures of Node.js application development. We learned about the fundamentals of the technology and revealed important patterns such as Model-View-Controller. We talked about test-driven development and REST APIs. In this chapter, we will create the base of our social network. The proper delivery and management of an application's assets is an essential part of the system. In most of the cases, it determines our workflow. We will go through the following topics in this chapter:
- Serving files with Node.js
- CSS preprocessing
- Packing client-side JavaScript
- Delivering HTML templates