Boilerplate for javascript single page apps backed by a rest api.