Quick start
Create a project, start it, and open the dashboard.
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-appThe 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:servicesStart the app
pnpm devOpen it
- http://localhost:3000: the landing page, named after your project.
- http://localhost:3000/dashboard: the dashboard.
- http://localhost:3000/api/health: the liveness endpoint.
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
- Configure the environment: every variable and provider.
- Change modules later with
pnpm clubedge addandpnpm clubedge remove. - Deploy to a container host, Fly.io, Railway, Render, Vercel, or Netlify.
- Build the mobile app, in a project created with
--shell capacitor. - Run the native app, in a project created with
--mobile expo.
How is this guide?