Get AppAtelier running locally in about five minutes.
- Node.js 20+ —
node --versionshould printv20.xor higher - pnpm —
npm install -g pnpmif not installed - Claude Code — required for AI Studio skills (
/create-app,/modify-app, etc.)
git clone https://github.com/yourname/app_atelier.git
cd app_atelier
pnpm installCopy the example file and fill in the required values:
cp .env.example .envMinimum required for local dev:
# Database (SQLite default — no external service needed)
DB_ADAPTER=sqlite
DATABASE_URL=./local.db
# Better Auth secret (generate a random string)
BETTER_AUTH_SECRET=your-random-secret-here
# Required only for AI features (MCP apps like Daily Briefing)
ANTHROPIC_API_KEY=sk-ant-...For MCP integrations (Gmail, Notion, etc.) see docs/mcp.md.
pnpm db:setupThis creates local.db and pushes all table schemas from every app's db/schema.ts. It is idempotent — safe to run again after adding a new app.
pnpm devThe dev server starts on port 3000. Two URLs are now live:
| URL | What you see |
|---|---|
http://localhost:3000 |
The hub — an icon grid launcher for all apps |
http://notes.localhost:3000 |
The Notes app |
The hub shows every app defined in app/apps/hub/page.tsx. An orange ! badge on an app icon means its required MCP env vars are not configured.
Open http://notes.localhost:3000. You can create, edit, and delete notes immediately. Data is stored in local.db.
If you open http://localhost:3000 you will see the hub with the Notes icon. Clicking it navigates to notes.localhost:3000.
Service workers are disabled in dev mode (NODE_ENV=development). To test PWA install:
pnpm build
pnpm startThen open http://notes.localhost:3000 in Chrome. The address bar will show an install icon, or the in-app InstallPrompt component will appear. On iOS Safari, use the share sheet and tap "Add to Home Screen".
- Create a new app: type
/create-appin Claude Code - Architecture overview: docs/architecture.md
- PWA deep dive: docs/pwa-deep-dive.md
- Deploy to production: docs/deployment.md