Use Refinery CMS as a headless API-first CMS

1 minutes and 1 seconds read.

In this article, i will explain how to use Refinery CMS with its Rest API to manage the content of a Middleman static website hosted on the Netlify platform.

The final goal for me is to have one headless CMS app for multiple clients and one Middleman website hosted on Netlify for each customer.

In order to achieve this, we will:

  1. Bootstrap a new Refinery CMS 3.0.x app with a blog
  2. Install and configure the Rest API extension
  3. Create a new middleman app with a blog
  4. Install and configure the middleman-refinery extension
  5. Deploy the middleman website on Netlify
  6. Set the Webhook on your Refinery CMS app

BONUS: I have worked on a refinerycms-multisites extension in order to allow us to create one Refinery CMS app and host multiples customers on it:

Read this article : Use Refinery CMS as a headless API-first CMS