Prerequisites: Node.js ≥ 20.0.0 and pnpm (recommended), npm, or yarn.

1

Create a new project

Use the CLI tool to scaffold a new Strux project with the default template, sample schemas, and dummy content.

npx create-strux-app my-project
2

Install dependencies

Navigate to your project and install all required packages.

cd my-project
pnpm install
3

Start development

Launch the CMS with a single command. The admin panel will be available at http://localhost:3000.

pnpm dev
4

Create your first schema

Define a content type by adding a JSON Schema file to the schema/ directory.

{
  "displayName": "Blog Post",
  "kind": "collectionType",
  "singularName": "blog-post",
  "pluralName": "blog-posts",
  "attributes": {
    "title": { "type": "string", "required": true },
    "slug": { "type": "uid", "targetField": "title" },
    "body": { "type": "richtext", "required": true },
    "published": { "type": "boolean" }
  }
}
5

Start creating content

Open the admin panel, navigate to Content Manager, and start adding entries. Every save creates a Git commit automatically.

What's Next?

Collection Types →

Learn how to define and use collection types.

Relationships →

Connect content types with relational links.

Dynamic Zones →

Build flexible, component-based content areas.

API Usage →

Query and manage content through the REST API.