craftship / contentful-mock

Mock implementation of the Contentful API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contentful Mock API

Contentful Mock Logo

Overview

This project aims to support developers using the contentful API. Rather than having to always be online when developing applications this in memory database mock aims to ease the pain.

Its main aims are to help provide a simple way to mock out data as well as supporting fast automated tests with predictable scenarios.

Getting Started

  • Create a folder in the root of your project called .contentful (example here)
  • Add a script to you project package.json contentful-mock
  • Contentful mock server will be running on 8090

Coming Soon

  • Docker container that allows a simple copy of your .contentful mock yaml data folder
  • Support for many more of the API endpoints see tests for status

About

Mock implementation of the Contentful API

License:MIT License


Languages

Language:JavaScript 98.8%Language:Shell 1.2%