Admin Panel

Intuitive Content Management

A modern admin interface built with Next.js and Radix UI. Manage content types, create entries, upload media, and collaborate with your team — all from a beautiful dashboard.

  • List, create, edit, and delete entries
  • Rich text editor with media embedding
  • Real-time content validation
  • Role-based access control
  • Dark mode by default
localhost:3001 — Strux Admin
Articles
Categories
Authors
Media
Settings
Articles (12 entries)
Title Status Updated
Getting Started with Strux Published 2 min ago
Content Modeling Best Practices Published 1 hour ago
Dynamic Zones Deep Dive Draft 3 hours ago
API Reference Guide Published Yesterday
Content Modeling

Schema-First Design

Define your content types with JSON schemas. Every schema is a plain file — readable, version-controlled, and instantly reflected in the admin panel and API.

  • 12 built-in field types
  • Relational fields with smart population
  • Dynamic zones for flexible layouts
  • Hot-reload: edit schema, see changes instantly
  • AJV-powered runtime validation
📋 article.schema.json Collection Type
title string · required
slug uid
content richtext · required
cover_image media
category relation → category
is_featured boolean
+ Add Field
REST API

Instant, Auto-Generated API

Every content type automatically gets full CRUD endpoints. No code generation, no manual routing — just define a schema and start fetching.

  • Full CRUD: GET, POST, PUT, DELETE
  • Filtering, sorting & pagination
  • Relationship population with ?populate=*
  • Full-text search across fields
  • JWT-based authentication
GET /api/articles?populate=category&sort=createdAt:desc 200 OK
{
  "data": [
    {
      "id": "a1b2c3d4",
      "title": "Getting Started with Strux",
      "slug": "getting-started-with-strux",
      "is_featured": true,
      "category": {
        "id": "cat-001",
        "name": "Tutorials"
      },
      "createdAt": "2026-04-04T12:00:00Z",
      "updatedAt": "2026-04-04T14:30:00Z"
    }
  ],
  "meta": {
    "pagination": {
      "page": 1,
      "pageSize": 10,
      "total": 12
    }
  }
}
Git Integration

Content Versioned by Git

Every save, update, and delete is a Git commit. Track who changed what, when, and why. Roll back to any point in history. Branch content like you branch code.

  • Automatic commits on every content change
  • Author attribution from authenticated users
  • Full content history and diff support
  • Branch-based staging environments
  • Merge content like you merge code
Terminal — content history
$ git log --oneline content/ a1b2c3d Update article: "Getting Started with Strux" e5f6a7b Create article: "Dynamic Zones Deep Dive" c8d9e0f Update category: "Tutorials" → slug changed 1a2b3c4 Delete article: "Old Draft Post" 5e6f7a8 Create article: "API Reference Guide"   $ git diff HEAD~1 content/api/article/ + "is_featured": true

Ready to build with Strux?

Get started in under 60 seconds. No accounts, no credit cards, no database setup.