New:New releases:CLIcreate-clubedge-app v0.49.1·Clubedge Starter v0.32.0

Clubedge Starter Docs

Quick start

Create a project, start it, and open the dashboard.

Want to see it running before installing anything? try creates a project on a free, temporary Railway VM and gives you a preview URL. You only need Node.js 22.12 or newer to run the CLI: no database or Docker on your side. Or watch real projects run end to end in the showcase.

Want other modules than the defaults? Pick them in the builder and copy the command it gives you.

Requirements

  • Node.js 22.12 or newer (Node.js 22 LTS recommended).
  • pnpm 10.9.0 or newer. The generated project pins its pnpm version with Corepack.
  • Git, for the default repository initialization.
  • Docker, only if you keep the default local services. Choose --infra local (PGlite) or --infra neon (a free hosted database) to run without it.
  • uv, only for a FastAPI API (--api fastapi).
  • Android Studio, or Xcode on a Mac, only to build the mobile app (--shell capacitor) or the native app (--mobile expo).

Create a project

pnpm dlx @clubedge/create-clubedge-app my-app

The generated project is a pnpm workspace, so dependencies are installed with pnpm either way; the CLI falls back to corepack pnpm when pnpm is not on your path. Without a destination, the CLI asks where to create the project. Interactive runs ask for a framework (Next.js, TanStack Start, React + Vite with a separate API, which can also be packaged as a mobile app, or None, for an API without a website), then, with an API, whether to add the native app, and whether to customize the modules.

The default Starter release ships inside the CLI package, so GitHub is only contacted when you pass --ref. Internet access is needed to install dependencies.

Run it

Start the local services

The project includes apps/web/.env.local, created from the example and pointing at the local services you chose. With a separate API, the API's settings, such as DATABASE_URL, are in apps/api/.env.local. A project without a website has only the API's file, and the native app's, apps/mobile/.env.local.

cd my-app
pnpm infra:up
pnpm db:migrate
pnpm check:services

Start the app

pnpm dev

Open it

The pages render without connecting to providers; database and provider operations require their configuration.

Without a website, there are no pages: the API answers on port 3001, at http://localhost:3001/api/health, and the native app runs on an emulator or a phone.

The Starter is a foundation and a reference implementation. Review its security and deployment choices for your application before you go to production; see Before deploying.

Next steps

How is this guide?