← All use cases

Blog & CMS

Posts, authors and tags with N:N relations and image fields.

The problem

Every new blog or content site needs the same tables, an admin and an API before you can publish anything.

With Kanesh

  • Posts, authors and tags with a real N:N relation
  • Image fields for covers, stored with the workspace
  • Editors and viewers with per-collection roles
  • REST or GraphQL for your Next.js, SvelteKit or mobile front end

Data model

posts
  • title string
  • body text
  • cover image
  • author N:1 → authors
  • tags N:N → tags
authors
  • name string
  • bio text
  • avatar image
tags
  • name string

Query it

Every collection is available over REST and GraphQL as soon as it exists.

GET /api/v1/workspaces/:ws/collections/posts/records

{ "data": [{ "title": "Hello Kanesh", "author": "a1f2…", "tags": ["t9…"] }] }
Prompt to start

“Create a blog backend with posts, authors and tags. Posts belong to one author and have many tags.”

Buy me a coffee