Awesome
<p align="center"> <a href="https://docs.primecms.app"><img alt="Prime + Gatsby example" width="330px" src="primegatsby.png" /></a> </p> <p align="center"><strong>Gatsby + Prime CMS</strong></p>Note: This starter uses The default Gatsby starter.
This repo contains an example website built with Gatsby, and Prime CMS: Demo Link.
What is Prime?
Prime is a standalone, self-hosted, headless CMS with a GraphQL interface powered by TypeScript.
Why Prime?
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
Features
- ๐จ 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.
Access Locally
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).
Setting up Prime CMS
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:
๐ Read Docs
๐ง Prime is currently in beta ๐ง
To get a sandbox to play with, just hit the Deploy button: