docs(agile): initialize docs
This commit is contained in:
33
docs/architecture/unified-project-structure.md
Normal file
33
docs/architecture/unified-project-structure.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# 6. Unified Project Structure
|
||||
|
||||
This is the final monorepo structure that integrates the frontend (`app/`), backend (`server/`), and database (`prisma/`) components.
|
||||
|
||||
```plaintext
|
||||
system/
|
||||
├── app/ # Nuxt frontend application
|
||||
│ ├── assets/
|
||||
│ │ └── scss/
|
||||
│ ├── components/
|
||||
│ ├── composables/
|
||||
│ ├── layouts/
|
||||
│ ├── pages/
|
||||
│ └── ...
|
||||
├── prisma/ # Prisma ORM configuration
|
||||
│ ├── migrations/
|
||||
│ │ └── .../migration.sql
|
||||
│ └── schema.prisma # The single source of truth for the database
|
||||
├── server/ # Nuxt server-side logic (API)
|
||||
│ ├── api/
|
||||
│ │ └── ...
|
||||
│ ├── middleware/
|
||||
│ └── utils/
|
||||
├── types/ # Shared TypeScript types
|
||||
│ ├── citizen.ts
|
||||
│ ├── ledger.ts
|
||||
│ └── index.ts
|
||||
├── docker-compose.yml # Defines and runs the multi-container stack
|
||||
├── Dockerfile # For building the Nuxt application image
|
||||
├── nuxt.config.ts # Nuxt configuration
|
||||
├── package.json
|
||||
└── tsconfig.json
|
||||
```
|
||||
Reference in New Issue
Block a user