Quickstart¶
Generate a SPA¶
Bash
apogee-fe new demo --ui shadcn --bundler vite --lang ts --path ./out/demo
cd out/demo
npm install
npm run dev
# β http://localhost:5173
What you get¶
Text Only
out/demo/
βββ package.json
βββ vite.config.ts
βββ tsconfig.json
βββ index.html
βββ src/
βββ main.tsx
βββ domain/ # business types
βββ application/ # use cases / hooks
βββ infrastructure/ # API clients, storage
βββ presentation/
βββ routes/
βββ pages/
βββ layout/
βββ components/
Add pages and forms incrementally¶
Bash
apogee-fe add:page customers
apogee-fe add:form CustomerForm --field name:string --field email:string
apogee-fe add:endpoint customers --base-url /api/customers
apogee-fe add:i18n --languages en,pt,es,zh
Read next¶
- Commands β full list of
add:*generators.