This project is an attempt to build a better interface to edit content on a project I worked on.
The project was a marketing website with several pages and each page had a set of reusable modules.
We used GraphCMS to hold the content and provide a GraphQL api.
For this tool to work:
- your schema must have a Page schema with a string array field called
- the modules' schemas name should end with
- List pages
- Edit page
- Add modules
- Edit modules
- Reorder modules
- Remove modules
- Build form based on GraphQL schema
- Create page
- Remove page
.env.local file with
GRAPHQL_URL variable pointing to your GraphCMS project endpoint.