94 lines
2.8 KiB
Markdown
94 lines
2.8 KiB
Markdown
# 12. Project Structure
|
|
|
|
```
|
|
dofus-manager/
|
|
├── .github/
|
|
│ └── workflows/
|
|
│ └── ci.yml
|
|
│
|
|
├── docker/
|
|
│ ├── Dockerfile
|
|
│ └── docker-compose.yml
|
|
│
|
|
├── docs/
|
|
│ ├── prd.md
|
|
│ ├── front-end-spec.md
|
|
│ └── architecture.md
|
|
│
|
|
├── prisma/
|
|
│ ├── schema.prisma
|
|
│ └── migrations/
|
|
│
|
|
├── public/
|
|
│ └── favicon.ico
|
|
│
|
|
├── src/
|
|
│ ├── components/
|
|
│ │ ├── ui/ # shadcn/ui components
|
|
│ │ ├── layout/ # Layout components
|
|
│ │ ├── characters/ # Character feature
|
|
│ │ ├── accounts/ # Account feature
|
|
│ │ ├── teams/ # Team feature
|
|
│ │ ├── progressions/ # Progression feature
|
|
│ │ └── shared/ # Shared components
|
|
│ │
|
|
│ ├── lib/
|
|
│ │ ├── utils.ts # Utility functions (cn, etc.)
|
|
│ │ ├── errors.ts # Error types
|
|
│ │ ├── schemas/ # Zod schemas
|
|
│ │ │ ├── character.ts
|
|
│ │ │ ├── account.ts
|
|
│ │ │ ├── team.ts
|
|
│ │ │ └── progression.ts
|
|
│ │ ├── client/ # Client-only code
|
|
│ │ │ ├── query-client.ts
|
|
│ │ │ └── stores/
|
|
│ │ │ └── ui-store.ts
|
|
│ │ └── server/ # Server-only code
|
|
│ │ ├── db.ts
|
|
│ │ ├── cache.ts
|
|
│ │ ├── logger.ts
|
|
│ │ └── dofusdb.ts
|
|
│ │
|
|
│ ├── routes/
|
|
│ │ ├── __root.tsx
|
|
│ │ ├── index.tsx
|
|
│ │ ├── characters/
|
|
│ │ ├── accounts/
|
|
│ │ ├── teams/
|
|
│ │ ├── progressions/
|
|
│ │ └── settings/
|
|
│ │
|
|
│ ├── server/
|
|
│ │ ├── functions/
|
|
│ │ │ ├── auth.ts
|
|
│ │ │ ├── characters.ts
|
|
│ │ │ ├── accounts.ts
|
|
│ │ │ ├── teams.ts
|
|
│ │ │ ├── progressions.ts
|
|
│ │ │ └── dofusdb.ts
|
|
│ │ ├── middleware/
|
|
│ │ │ └── auth.ts
|
|
│ │ └── index.ts
|
|
│ │
|
|
│ ├── styles/
|
|
│ │ └── globals.css
|
|
│ │
|
|
│ └── app.tsx # App entry point
|
|
│
|
|
├── tests/
|
|
│ ├── unit/
|
|
│ ├── integration/
|
|
│ └── e2e/
|
|
│
|
|
├── .env.example
|
|
├── .gitignore
|
|
├── biome.json
|
|
├── package.json
|
|
├── tsconfig.json
|
|
├── app.config.ts # TanStack Start config
|
|
└── README.md
|
|
```
|
|
|
|
---
|