← Semua use case

Blog & CMS

Posts, authors, dan tags dengan relasi N:N dan field gambar.

Masalahnya

Setiap blog atau situs konten baru butuh tabel, admin, dan API yang sama sebelum bisa publish apa pun.

Dengan Kanesh

  • Posts, authors, dan tags dengan relasi N:N asli
  • Field gambar untuk cover, tersimpan di workspace
  • Editor dan viewer dengan peran per koleksi
  • REST atau GraphQL untuk front end Next.js, SvelteKit, atau mobile

Model data

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

Langsung dipakai

Setiap koleksi langsung tersedia lewat REST dan GraphQL begitu dibuat.

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

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

“Buatkan backend blog dengan posts, authors, dan tags. Satu post punya satu author dan banyak tag.”

Traktir kopi