Set up the server to route either to the rest services or the static single-page app