

The most powerful full-stack
framework in the universe.
One command scaffolds a Next.js frontend, a MasterController API, and a MasterRecord ORM — wired together and ready to run. Rails-grade productivity, the Node.js you already know.
The power of a full stack, unified
Master orchestrates three battle-tested pieces that also stand on their own. Use the whole stack, or wield each one independently.

The command center. Scaffold a full-stack monorepo, generate models, controllers and pages, run dev/build/start — all from one CLI.
- master new
- generators
- dev / build / start

The backend fortress. A fast ESM MVC framework: routing, controllers, a middleware pipeline, WebSockets, CORS and enterprise security.
- routing & controllers
- middleware pipeline
- CSRF · rate-limit · HSTS

The data vault. A code-first ORM with an expressive query language, migrations, relationships and transformers across SQLite, MySQL & Postgres.
- code-first models
- migrations
- SQLite · MySQL · Postgres
One command. A whole app.
No glue code, no boilerplate marathon. Scaffold, migrate, and launch a real full-stack application in under a minute.
$ master new my-app$ cd my-app$ master db migrate$ master dev
That boots your API on :3001 and the Next.js app on :3000 — together, with hot reload.
// backend/server.js — boots the whole API
import master from 'mastercontroller';
master.root = import.meta.dirname;
const server = master.setupServer('http');
await master.startMVC('app'); // routes + controllers
await master.start(server);
server.listen(3001);// backend/app/models/Post.js — a MasterRecord entity
export default class Post {
id(db) { db.integer().primary().auto(); }
title(db) { db.string().notNullable(); }
body(db) { db.text(); }
views(db) { db.bigint(); }
created_at(db) { db.datetime(); }
}
Next.js on top. Power underneath.
Master pairs a real Next.js front end with a true backend and ORM — connected by one clean, typed boundary.
Everything you need to build
Zero to full-stack
master new app gives you a Next.js frontend + API backend + ORM, wired and running in one command.
Rails-style generators
Scaffold a complete resource — model, REST controller, routes and a Next.js page — instantly.
Three databases
MasterRecord speaks SQLite, MySQL and PostgreSQL with the same code-first models and migrations.
Secure by default
CSRF tokens, rate limiting, secure headers, HSTS and prototype-pollution protection out of the box.
Pure ESM, Node 20+
Modern JavaScript end to end — no transpiler required for the backend.
Decoupled by design
Frontend and backend are separate, scalable services that talk over a typed API.
Mountable components
Compose apps from self-contained MasterController components with their own routes and controllers.
Real migrations
Code-first schema diffing, up/down migrations and a friendly master db workflow.
Ready to claim the power?
See how Master stacks up against Rails, Express, NestJS and ASP.NET — then build something legendary.