From CLI
to localhost.
Install Node.js 22.12+ and Bun. Choose a new project name and use a directory that does not already exist.
Create.
Use your selected configuration, or run
bunx @0x0501/mystack@latestto open the terminal wizard.Your create commandbunx @0x0501/mystack@latest create my-app --yes --database pg-hyperdrive --deployment cloudflare --email cloudflare --payments stripeRun this from the parent directory of your new project.
Configure.
Enter the generated directory and copy its environment example. Set the database and provider credentials described in its README.
Local environmentcd my-app cp .env.example .envIf dependencies were skipped or installation failed, run
bun installbefore continuing.Migrate.
PostgreSQL needs Docker. Run bun run db:up before applying migrations.
Apply the initial migrationsbun run db:up bun run db:migrateEvery configuration includes initial migrations. Local migration commands target your local development database.
Build.
Start the development server and open your application at http://localhost:3000.
Start developmentbun run devWithout mail credentials, authentication email is logged in development. PostgreSQL projects can run
bun run db:seedfor local test users; SQLite projects begin with normal sign-up.