Is there any tutorial to build backend (REST) API for SPA, especially those built on vue + webpack? As far as I can see, for the backend, the authorization has to support CORS and JWT. Is there any alternative? I have projects built on flask, pyramid, rely heavily on templating lang like jinja2. Some of them have grown very big. I think vuejs can take most of their work and make the code much nicer. Some refactory guide would be much helpful.