|
1 | | -# [backend](/backend) / [src](/backend/src) |
| 1 | +# [root](/) / [backend](/backend) / [src](/backend/src) |
2 | 2 |
|
3 | 3 | ## 🏷️ 📁 Src |
4 | 4 |
|
5 | 5 | ### 🎯 PURPOSE |
6 | | -The `src` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the src logic to ensure a seamless and premium experience. Rooted in the NestJS backend architecture, it delivers robust, high-performance operations tailored for high-end beauty and wedding services. |
| 6 | +The `src` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the src logic to ensure a seamless and premium experience. |
7 | 7 |
|
8 | 8 | ### 🏗️ ARCHITECTURE |
9 | 9 | ```mermaid |
10 | 10 | graph TD |
11 | 11 | src[📁 src] |
12 | | - src --> common[📁 common] |
13 | | - src --> modules[📦 modules] |
14 | | - src --> app_controller_spec_ts(app.controller.spec.ts) |
15 | | - src --> app_controller_ts(app.controller.ts) |
16 | | - src --> app_module_ts(app.module.ts) |
17 | | - src --> app_service_ts(app.service.ts) |
18 | | - src --> main_ts(main.ts) |
| 12 | + src --> src_common[📁 common] |
| 13 | + src --> src_modules[📁 modules] |
| 14 | + src --> src_app_controller_spec_ts(app.controller.spec.ts) |
| 15 | + src --> src_app_controller_ts(app.controller.ts) |
| 16 | + src --> src_app_module_ts(app.module.ts) |
| 17 | + src --> src_app_service_ts(app.service.ts) |
| 18 | + src --> src_main_ts(main.ts) |
19 | 19 | ``` |
20 | 20 |
|
21 | 21 | ### 📄 FILE REGISTRY |
22 | 22 | | File Name | Type | Responsibility | Key Aliases Used | |
23 | 23 | |---|---|---|---| |
24 | | -| `app.controller.spec.ts` | `ts` | Encapsulates premium logic and definitions for `app.controller.spec.ts`. | @nestjs/testing | |
25 | | -| `app.controller.ts` | `ts` | Encapsulates premium logic and definitions for `app.controller.ts`. | @nestjs/common | |
26 | | -| `app.module.ts` | `ts` | Encapsulates premium logic and definitions for `app.module.ts`. | @modules/veil, @modules/booking, @modules/admin-settings, @nestjs/common, @modules/inventory, @modules/auth, @modules/treatments, @modules/user, @modules/gallery, @modules/partnership, @nestjs/serve-static, @modules/payment | |
27 | | -| `app.service.ts` | `ts` | Encapsulates premium logic and definitions for `app.service.ts`. | @nestjs/common | |
28 | | -| `main.ts` | `ts` | Encapsulates premium logic and definitions for `main.ts`. | @nestjs/config, @nestjs/common, @nestjs/core | |
29 | | - |
| 24 | +| `app.controller.spec.ts` | `ts` | Handles incoming HTTP requests. | @nestjs | |
| 25 | +| `app.controller.ts` | `ts` | Handles incoming HTTP requests. | @nestjs | |
| 26 | +| `app.module.ts` | `ts` | Module configuration and provider registration. | @modules, @nestjs | |
| 27 | +| `app.service.ts` | `ts` | Business logic and service layer. | @nestjs | |
| 28 | +| `main.ts` | `ts` | Core logic implementation. | @nestjs | |
30 | 29 |
|
31 | 30 | ### 🔗 DEPENDENCIES |
| 31 | +- `./app.controller` |
| 32 | +- `./app.module` |
| 33 | +- `./app.service` |
| 34 | +- `./common/config/app-config.module` |
| 35 | +- `./common/database/database.module` |
32 | 36 | - `@modules/admin-settings` |
33 | 37 | - `@modules/auth` |
34 | 38 | - `@modules/booking` |
35 | 39 | - `@modules/gallery` |
36 | 40 | - `@modules/inventory` |
37 | | -- `@modules/partnership` |
38 | | -- `@modules/payment` |
39 | | -- `@modules/treatments` |
40 | | -- `@modules/user` |
41 | | -- `@modules/veil` |
42 | | -- `@nestjs/common` |
43 | | -- `@nestjs/config` |
44 | | -- `@nestjs/core` |
45 | | -- `@nestjs/serve-static` |
46 | | -- `@nestjs/testing` |
| 41 | +- *...and more.* |
47 | 42 |
|
48 | 43 | ### 🛠️ USAGE |
49 | 44 | ```typescript |
|
0 commit comments