Create and Publish Content to Hygraph
Explore how to create and publish content in Hygraph by using schema-based models to add products and categories. Understand image uploads, content states like Draft and Published, and managing entries with forms. This lesson helps you master content management in Hygraph for your e-commerce app.
We'll cover the following...
It’s easy to add content to our Hygraph CMS based on the models we have in our schema because it is done by filling out forms.
To get started, we’ll first navigate to the content page of our project's dashboard using any of the icons marked below.
The first option shows us that we have successfully set up our schema, which is necessary before adding content because we are adding content based on the model we created in the schema.
When we click the "Create content" option, it will navigate us to the content page, which has a list of available models and a button to create content on any chosen model. Also, all created contents will appear on this page as labeled below.
In the above image, we have two models: shoe and category. The shoe model is active, which is why the name is shown at the top of this page.
At the top right side of our screen, we have a "Create entry" button, which we ...