initial commit
This commit is contained in:
93
docs/architecture/12-project-structure.md
Normal file
93
docs/architecture/12-project-structure.md
Normal file
@@ -0,0 +1,93 @@
|
||||
# 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
|
||||
```
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user