Schema-Driven Full-Stack Apps
in Minutes

Define your data model in YAML. Get a complete Next.js + Prisma application with auth, org-scoped access control, i18n, and Cypress tests — ready to deploy.

What is app-generator?

Stop writing boilerplate. Describe your data model once — app-generator produces a production-ready Next.js application with everything built in.

Schema-Driven Generation

Write a YAML schema and Prisma schema — get TypeScript, React, and Cypress files generated automatically. CRUD pages, REST API endpoints, and test suites in one shot.

🏢

Organization-Scoped Access Control

If your schema includes organization information, access can be limited per organization. Data scoping by org is built into the generated code.

🔐

AuthN & AuthZ (Auth.js)

Email/password, Google SSO, and role-based access control — all included out of the box.

💬

Comments, Attachments & Approval Flows

Polymorphic bridge pattern lets you attach comment threads and file uploads to any entity. Approval workflows are built in, not bolted on.

🌐

Extensible i18n Built In

next-intl v4 internationalization is included from day one. Adding support for a new language takes minimal effort — the structure is already in place.

🧪

Cypress E2E Tests Included

UI and API test suites are generated alongside application code. Quality is built-in, not added later.

How to Use — Start with app-template

Fork app-template and you're already set up. A few steps and your local environment is running.

1

Fork app-template on GitHub

Click the Fork button. You get your own copy of the template with the generator already included as a submodule.

2

Clone with submodules

git clone --recurse-submodules <your-fork-url>

3

Define your schema

Edit prj/code_generator/json_schema.yaml and prj/prisma/schema.prisma to describe your data model.

4

Setup & run

Run npm run setup, then npm run dev. The generator produces your app and starts the dev server.

Future Plans

No-Code Schema Editor — Coming as SaaS

We're exploring a visual, no-code schema editor as a future SaaS offering. Design your data model in a browser — no YAML required.

No timeline yet. Stay tuned.

Get Started Today

app-generator is free to use under the BSL license — commercial web service planned. Star the repos if it saves you time.