october

Your backend, in one file.

Write down your data and who may see and change it. october runs the database, the API, sign-in and live updates, all held to those rules.

Try the live demo See how it works

Join the waitlist

october is invite-only for now. Sign in with your email, tell us what you'd build, and we'll invite people in batches.

We use your email only for access and updates about october, and delete it on request. See the privacy policy.

chat.jsx

// Real-time chat
// ----------------------------------
// * Live for everyone, as it changes
// * Retries never post twice
// * Rules checked on the server

import { init } from "@october1/client/react"

const db = init({ url: "https://<server>", tenant: "chat" })

const MESSAGES = `{ messages(first: 50) { items { id text } } }`
const SEND = `mutation ($input: MessageCreateInput!) {
  createMessage(input: $input) { id } }`

function Chat() {
  // 1. Read, live
  const { data } = db.useQuery(MESSAGES)

  // 2. Write
  const send = (text) =>
    db.mutate(SEND, { input: { text } })

  // 3. Render!
  return <UI messages={data?.messages.items} onSend={send} />
}

export default Chat

schema.edn

;; The whole backend: the data, what a valid message is,
;; and who may do what. Checked on the server, at commit.
;; Rules are Datalog: built-ins, functions, your own:
;; /docs/schema#permissions
{:entities
 {:messages
  {:attrs       {:text {:type :string :min 1 :max 2000 :trim? true}}
   :order       [:created-at :desc]          ; newest first
   :permissions {:view   true                ; anyone
                 :create [(authenticated? ?user)]
                 :update [(created-by ?e ?user)]  ; its author
                 :delete [(created-by ?e ?user)]}}}}

Terminal

$ curl -fsSL https://<server>/cli/october -o october && chmod +x october
$ october login --url https://<server> --email you@example.com
$ october init chat --demo
Created tenant chat with schema.edn; its API is /t/chat/graphql (in demo mode)
$ npm install @october1/client react

A real-time chat in two files

The schema is the whole backend: the data, what a valid message is, and who may write what. october turns it into a typed GraphQL API with live queries, and checks every rule on the server when the write commits.

The client is just as small. useQuery reads, and re-renders whenever the answer changes, for everyone watching. mutate writes, and carries an idempotency key, so a retry after a dropped connection never posts twice.

Both are plain text that people and agents read the same way: an EDN file, and GraphQL checked against the schema it came from. The schema guide lists every built-in rule and function a rule can use, with patterns for teams, roles and drafts.

Built for apps where people share data

The hard part of these apps is who may see and change what. With october that is the part you write down, and every change keeps a name on it.

Every change has an author

Each write records who made it, and nothing is silently overwritten: earlier values are kept.

Learn more →

Permissions you can read

One rule, next to the data, decides what each person gets back from the same question, on every read and write.

In october, a missing rule means no access and no mutation — not a table open to anyone.

Learn more →

Live by default

Any query can stay open. When someone else changes the answer, the page gets the new one.

Learn more →

One file, no backend

Describe the entities and the rules. Everything a server would do for them comes from that file.

Learn more →

Who it's for

For a CRM for a small team, internal tools, approval workflows, and apps that AI agents build: the rules live in one file the agent reads, not in code it might forget to write.

Not for media-heavy or search-heavy apps, analytics, very high write volumes, or offline-first mobile apps.