With the rise of the single-page application (SPA) web front-ends and mobile apps, the backend of many web applications is a collection of RESTful interfaces that provide JSON data rather than generating HTML. The rendering is up to the client side. While there are some drawbacks to this approach (heavier client, slower initial page loads, etc.), there are also a number of advantages, not the least of which is better separation of concerns since the front-end and back-end code are completely independent of one another.

This Flask quick-start template provides a basis for creating such a “REST-only” server. It can be used to serve mobile apps or SPA front-ends built with Angular or some other framework.

About the Template:

The template is available on Github. Check out the README file to get started.