title: Serving HTML to build a simple SPA using Node.js/Express
body: <p>I want to build a website as a Single Page Application.</p>
  
  <p>For what I understand a SPA sends a single entry point to the application in the form of an HTML file. </p>
  
  <p>So I would like to use Node and Express to serve the main page and to then serve HTML for the content between the header and footer that gets  updated using AJAX calls when a user navigates the site.</p>
  
  <p>I know how to create a restful API to serve data as JSON but not much on how to deal with the HTML parts of the SPA that are changing.</p>
  
  <p>The question: how could this serving of HTML parts be implemented on the server using Node and Express (and eventually a template engine like handlebars, if it helps)? </p>
  
  <p>And does it actually make sense? (A header and a footer are not much data to reload after all.)</p>