Chapter 3. Templating
We have our Web API in place, so let's turn our attention to the client. In this chapter, we will consume our Web API and present our data using a mixture of both server-side and client-side templating. We will serve a./views/index.html
masterpage file from the server with Express and use consolidate.js
and handlebars.js
for templating. On the client side we will use backbone.js
and precompiled handlebars templates served directly out of the ./public
folder.