0.2.0 • Published 3 years ago

tinacms-contentful-root v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

react-tinacms-contentful

This package provides helpers for setting up TinaCMS to use the Contentful API as well as user authentication with Contentful.

Pre-requisites

To use this plugin, the following is expected:

Installation

npm install --save react-tinacms-contentful contentful contentful-management
# or
yarn add react-tinacms-contentful contentful contentful-management

Getting started

There are three different approaches to using Contentful with TinaCMS, depending on your application's configuration:

  1. Client-side with OAuth user authentication, which allows users of your Contentful organization to login to their account to edit the content with Tina that they are allowed to access in Contentful.
  2. Client-side with personal access-token-based authentication, which allows you to access the delivery API or preview API to render content client-side, or preview draft content.
  3. Serverless with access-token-based authentication, which allows you to access the delivery API or preview API to build your application or preview draft content, and the management API to write changes back to contentful as the system instead of as a user.