Skip to content

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
  • Commands β€” full list of add:* generators.