title: node.js and single page web application
body: <p>I am looking at express.js for the back end and JS on the client side. 
  My app is a single page Web App.</p>
  
  <p>The server will only serve JSON messages and my question is about "routing" for express.
  Is one supposed to use routing to connect the UI and the server side business logic?
  How will that work with my single page app?</p>
  
  <p>so lets say, the client makes an Ajax call to the server looking for a value in the database and there is server side script that provides the JSON back to the UI. How is this UI and node script relationship setup? </p>
  
  <p>Can someone shed some light on this?</p>