Gatsby + Prime CMS
Note: This starter uses The default Gatsby starter.
This repo contains an example website built with Gatsby, and Prime CMS: Demo Link.
Prime is a standalone, self-hosted, headless CMS with a GraphQL interface powered by TypeScript.
There are a lot of headless SaaS solutions out there, and many of them better than Prime, but sometimes there is a need to host the CMS locally and while most open source projects work well for that, they are missing key features.
Please don’t forget to star this repo if you found it useful
- 🖨 Headless GraphQL Interface
- 🚀 Simple to use, yet powerful
- 📐 Slices and Groups fields
- ☑️ Create your own custom fields
- 🇮🇸 🇯🇵 Multiple languages
- 🚧 Preview drafts and releases without publishing
- 🔑 Resource and user access control
- 📆 Plan and schedule releases
- ... and many more
See the feature comparison to Prismic, Contentful and Strapi.
Fork the repo then,
$ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git
$ cd [REPO_NAME]
$ yarn
$ yarn develop (for developing) or yarn build (to deploy).
This example uses a apollo-link-prime to fetch posts from an instance of Prime CMS (which is running a Graphql server) you can add your own deploy of Prime CMS in utils/prime.js
export const client = new ApolloClient({
link: PrimeLink({
url: "https://example-prime.herokuapp.com"
}),
cache: new InMemoryCache()
});
To learn about Prime CMS:
🚧 Prime is currently in beta 🚧
To get a sandbox to play with, just hit the Deploy button: