unicef / iogt-pwa

A UNICEF-led digital solution transforming lives and providing opportunity, by making knowledge universally accessible.
https://www.internetofgoodthings.org/
Other
3 stars 2 forks source link

Enable the v2 API to Create a Headless CMS #1

Closed nathanbaleeta closed 3 years ago

nathanbaleeta commented 4 years ago

The first step to creating a progressive web app (PWA) or single page application (SPA) is enabling Wagtails existing support for a JSONified output. The API module provides a public-facing, JSON-formatted API to allow retrieving content as raw field data. This is useful for cases like serving content to non-web clients (such as a mobile phone app).

Carry out the following instructions to enable the v2 API:

Hint: https://learnwagtail.com/tutorials/how-to-enable-the-v2-api-to-create-a-headless-cms/