Chapter 4. Rendering with Node.js

Now that we’ve covered routing and the basic sending of a response to a web request, let’s start bringing your Node.js application into the real world. In this chapter, you’ll add some real webpages that allow users to interact with a data-driven UI.

Before you start

You have a couple more npm packages to hook up before you can get going. I realize this tutorial is falling into a pattern where I say, “Let’s get going!” only to have you turn the page and discover there’s just a wee bit more setup to do before you can actually get going. Sorry about that! Again, all I can do is remind you that this is Node.js Land where, unlike the Microsoft “add-a-page-and-then-a-control-and-click-go model,” nothing comes built-in. ...

Get Node.js for .NET Developers 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.