Simplify the production of single page web app based on RESTful backend