npm install and Docker pulling images.
Before you start
- Node.js 22.12 or newer (22, 24 or 26).
create-gato-appchecks Node against the kit version’sengines.nodeand refuses an unsupported version before it downloads the kit. - Docker with Compose v2 (the
docker composecommand). The database and the mail catcher run in containers. - git, with
user.nameanduser.emailset. The new project gets a first commit. - Free local ports 3000 (app), 5432 (PostgreSQL), 8025 and 1025 (mailpit). If one is taken, see Change ports.
Steps
1
Create the project
create-gato-app downloads the latest kit release and asks a few questions. Then it assembles my-app/, writes .env with freshly generated secrets, runs npm install and makes the first commit:With
uploads it also asks where files go, and without --setup it asks whether to set up the database now. To skip the questions, pass the answers as flags: npx create-gato-app@latest my-app --yes --setup --admin-email [email protected].--setup, the command also does the database work for you:docker compose up -d --waitstarts PostgreSQL 16 and mailpit and waits until they are healthy.npx prisma migrate dev --name initcreates the first migration and applies it.npm run admin:create -- --email <your email>creates your admin account and the first organization.
2
Start the app
http://localhost:3000 and ✓ Ready.3
Sign in
Open http://localhost:3000/en/sign-in and sign in with your email and the generated password.You land on
/dashboard with a “Welcome” card. The sidebar has Dashboard, Users and Account.Polish is the default locale, so paths without a prefix (
/sign-in) serve Polish unless your browser prefers English. English lives under /en/…. There is no page at /, so it returns a 404. See Internationalization to change this.4
See an email
Sign out, open
/en/forgot-password and enter your address. Then open mailpit at http://localhost:8025: the password reset email is there.Every email the app sends locally goes to mailpit, never to a real inbox. That includes the welcome email from Users → Invite user and organization invitations.What you have now
- A Next.js 16 app in
my-app/with the GatoJS core: sign-in, invitations, organizations, users, account and dashboard. All of it is plain code insrc/. See Project structure. - A PostgreSQL database named after your project (
my_app), stored involumes/postgres/so it survivesdocker compose down. - One organization with you as its
owner, and an account with the global roleadmin. - The app runs in single-organization mode with public sign-up off. Both are one flag away; see Runtime modes.
Next steps
Installation
All ways to create a project,
.env, runtime modes and troubleshooting.Architecture
How the kit, core and modules fit together, and who checks what on each request.
Build a feature
Add your own feature with organization-scoped data.
Add a module
Audit logs, API keys and file uploads.