Skip to Content
entapex-stack

Quick start

Create a project with one command.

Not on npm yet

pnpm create entapex-stack works once the CLI is published at launch. Until then, run it from source. Everything else on this page already works.

Requirements

entapex-stack uses pnpm only. Projects it creates refuse npm install, yarn and bun install, so every developer and every agent uses the same lockfile.

Create a project

The quickest way is to build your stack on the home page and copy the command. With the defaults it looks like this:

pnpm create entapex-stack@latest my-app --yes

Leave out --yes and the CLI asks each question in turn. Pass flags to answer questions up front; any question you answer with a flag is skipped:

pnpm create entapex-stack@latest notes --platforms android --backend convex --agents claude-code,codex --yes

See CLI options for every flag.

Try it before it's on npm

Clone this repo once, then create projects from any folder outside it:

git clone https://github.com/ShreyashRangrej/entapex-stack
pnpm --dir entapex-stack install

# from the folder you want the project in:
pnpm --dir path/to/entapex-stack create-local my-app

create-local takes the same flags as the published CLI, for example pnpm --dir entapex-stack create-local notes --platforms android --yes.

What the CLI does

  1. Asks each question that you didn't answer with a flag. Questions that don't apply are skipped.
  2. Copies only the template layers you picked: the base, one per platform, and your backend.
  3. Writes entapex.json with your answers, AGENTS.md, and the instruction file for each coding agent.
  4. Runs pnpm install and formats the project with Biome, so pnpm check passes from the start.
  5. Creates a git repository with a first commit.

Use --no-install or --no-git to skip steps 4 and 5.

Start building

cd my-app
pnpm dev
AppWhereWhat to try
Weblocalhost:3000Create an account, then add, tick and delete todos
API serverlocalhost:4000Better Auth at /api/auth, tRPC at /api/trpc
AndroidExpo prints a QR codeScan it with Expo Go, or press a for an emulator. Sign in with the same account and you see the same todos

That's the default stack: Drizzle + Postgres and Better Auth. Every other backend and auth provider gets the same todo app. Some need a key from a dashboard first; the project's README lists them under Setup, and until they're set the app tells you what's missing. See Backends and auth.

Your database

pnpm dev stores data in a local PGlite database (apps/server/.data/pglite): a real Postgres that runs inside Node, so there is nothing to install.

To use Neon or Supabase, create a database, put its connection string in apps/server/.env as DATABASE_URL, and restart pnpm dev. The server applies migrations when it starts. In production, run pnpm --filter @my-app/db db:migrate when you deploy.

Phones and the API

The Android app finds the API on the computer running Expo, at port 4000. If your phone can't reach it, set EXPO_PUBLIC_API_URL in apps/mobile/.env (for example http://192.168.1.20:4000).

Then open your coding agent in the folder. AGENTS.md explains how the todo feature flows from the database to both apps, so the agent can add features the same way. Plugin commands such as /entapex:spec arrive in Phase 6; see the roadmap.

On this page