Unit 2. Easier web development with Express.js

 

Unit 1 taught you how web servers work with Node.js and how to build meaningful content with built-in modules. This unit is about taking your application to a more robust and professional level by using a web framework and dynamic content. A web framework is a predefined application structure and a library of development tools designed to make building a web application easier and more consistent.

In this unit, you learn how to set up an application with Express.js and organize your application file structure to optimize communication of data among your pages. You’re also introduced to the model-view-controller (MVC) application architecture, which organizes your code into three distinct responsibilities:

  • Giving structure to your data
  • Displaying that data
  • Handling requests to interact with that data

With the goals of building on the lessons you learned in unit 1 and modifying your code to take full advantage of Express.js, this unit covers the following topics:

sitemap