251208:1625 Frontend: to be complete admin panel, Backend: tobe recheck all task
This commit is contained in:
@@ -25,23 +25,39 @@
|
||||
```
|
||||
backend/
|
||||
├── src/
|
||||
│ ├── common/ # Shared utilities, decorators, guards
|
||||
│ │ ├── auth/ # Authentication module
|
||||
│ │ ├── config/ # Configuration management
|
||||
│ ├── common/ # Shared utilities
|
||||
│ │ ├── decorators/ # Custom decorators
|
||||
│ │ ├── dtos/ # Common DTOs
|
||||
│ │ ├── entities/ # Base entities
|
||||
│ │ ├── filters/ # Exception filters
|
||||
│ │ ├── guards/ # Auth guards, RBAC
|
||||
│ │ ├── interceptors/ # Logging, transform, idempotency
|
||||
│ │ └── file-storage/ # Two-phase file storage
|
||||
│ │ ├── interfaces/ # Common interfaces
|
||||
│ │ └── utils/ # Helper functions
|
||||
│ ├── config/ # Configuration management
|
||||
│ ├── database/
|
||||
│ │ ├── migrations/
|
||||
│ │ └── seeds/
|
||||
│ ├── modules/ # Business modules (domain-driven)
|
||||
│ │ ├── user/
|
||||
│ │ ├── project/
|
||||
│ │ ├── auth/
|
||||
│ │ ├── circulation/
|
||||
│ │ ├── correspondence/
|
||||
│ │ ├── dashboard/
|
||||
│ │ ├── document-numbering/
|
||||
│ │ ├── drawing/
|
||||
│ │ ├── json-schema/
|
||||
│ │ ├── master/
|
||||
│ │ ├── monitoring/
|
||||
│ │ ├── notification/
|
||||
│ │ ├── organizations/
|
||||
│ │ ├── project/
|
||||
│ │ ├── rfa/
|
||||
│ │ ├── workflow-engine/
|
||||
│ │ └── ...
|
||||
│ └── database/
|
||||
│ ├── migrations/
|
||||
│ └── seeds/
|
||||
│ │ ├── search/
|
||||
│ │ ├── transmittal/
|
||||
│ │ ├── user/
|
||||
│ │ └── workflow-engine/
|
||||
│ ├── app.module.ts
|
||||
│ └── main.ts
|
||||
├── test/ # E2E tests
|
||||
└── scripts/ # Utility scripts
|
||||
```
|
||||
|
||||
@@ -35,13 +35,17 @@ frontend/
|
||||
│ ├── forms/ # Form components
|
||||
│ ├── layout/ # Layout components (Navbar, Sidebar)
|
||||
│ └── tables/ # Data table components
|
||||
├── hooks/ # Custom React hooks (Root level)
|
||||
├── lib/
|
||||
│ ├── api/ # API client (Axios)
|
||||
│ ├── hooks/ # Custom React hooks
|
||||
│ ├── services/ # API service functions
|
||||
│ └── stores/ # Zustand stores
|
||||
│ ├── stores/ # Zustand stores
|
||||
│ └── utils.ts # Cn utility
|
||||
├── providers/ # Context providers
|
||||
├── public/ # Static assets
|
||||
├── styles/ # Global styles
|
||||
├── types/ # TypeScript types & DTOs
|
||||
└── providers/ # Context providers
|
||||
└── middleware.ts # Next.js Middleware
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user