Saltar a contenido

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.