Everything you need to snap a backend together in blocks.
BLOK is a composable backend platform. You snap together prebuilt blocks — auth, database, storage, queues, payments — then deploy with one command.
Everything runs over https://api.blok.dev. The CLI is the single source of truth: blok init, blok add, blok up.
$ npm i -g blok $ blok init $ blok add auth database $ blok up ✓ 2 blocks running · api.blok.dev
The core commands, in the order you'll use them.
| Command | What it does |
|---|---|
blok init | Create a new project |
blok add <block> | Snap a block into the project |
blok up | Deploy the project |
blok logs | Tail live logs |
BLOK ships 40+ blocks. The core six — auth, database, storage, queue, payments and edge — cover most backends. Blocks are versioned, typed and wire together automatically.
Blocks connect with typed config, not YAML. Permissions, secrets and environment variables are injected at deploy time, and the CLI catches misconfigurations before anything ships.
Deploy to BLOK's edge in 300+ regions, or pin any block to your own cloud. Migrations, backups and autoscaling run themselves.
We are SOC 2 Type II audited. Encryption everywhere, secrets injected as environment variables, and field-level access controls.