Recipes

Ready-to-Use Recipes

Copy these content model setups to get started quickly. Create the models below and you're ready to go.

1

Blog / News Site

Two models work together: Author stores writer profiles, and Blog Post references an author via a relation field. Create both models and you have a complete blog backend.

Author Model

text Name (required)
textarea Bio
media Avatar

Blog Post Model

text Title (required)
text Slug (required)
richtext Body
textarea Excerpt
media Hero Image
relation Author
date Publish Date
2

Marketing / Landing Pages

One flexible model lets your marketing team edit every section of a landing page. Each content item represents a single page section — hero, features, pricing, and so on.

Page Section Model

text Section ID (required) — e.g. "hero", "features", "pricing"
text Heading
textarea Subheading
richtext Body
media Background Image
text CTA Button Text
text CTA Button URL

Tip: Fetch all sections with /api/content/model/page-section and render them by Section ID in your frontend.

3

Product Catalog

Two models: Category groups products, and Product holds the details. Use a relation field to link each product to its category.

Category Model

text Name (required)
text Slug
textarea Description

Product Model

text Name (required)
text Slug
richtext Description
number Price
media_multiple Images
relation Category
boolean Featured