Skip to content

Commit 49a4dbd

Browse files
docs: auto-generate architectural README files across repository
- Created a script `generate_readmes.py` to recursively generate a `README.md` for every directory in the project. - The generated READMEs follow a Mavluda Beauty standard: Contextual Emojis, Breadcrumbs, Mermaid.js architectures, FSD annotations, File Registries, and Usage blocks. - Preserves existing directory purpose and descriptions when re-running. Co-authored-by: beginwebdev2002 <102213457+beginwebdev2002@users.noreply.github.com>
1 parent e0fb9ce commit 49a4dbd

156 files changed

Lines changed: 571 additions & 467 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€ŽREADME.mdβ€Ž

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,35 @@
11
# [root](/)
22

3-
## 🏷️ πŸ“ Root
3+
## 🏷️ πŸ“ .
44

55
### 🎯 PURPOSE
6-
The `root` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the root logic to ensure a seamless and premium experience.
6+
The `.` directory is a foundational part of the Mavluda Beauty ecosystem.
77

88
### πŸ—οΈ ARCHITECTURE
99
```mermaid
1010
graph TD
11-
root[πŸ“ root]
12-
root --> root_backend[πŸ“ backend]
13-
root --> root_frontend[πŸ“ frontend]
14-
root --> root__env(.env)
15-
root --> root__gitignore(.gitignore)
16-
root --> root__gitignore_append(.gitignore_append)
17-
root --> root_GEMINI_md(GEMINI.md)
18-
root --> root_generate_readmes_py(generate_readmes.py)
11+
_[πŸ“ .]
12+
_ --> __backend[πŸ“ backend]
13+
_ --> __frontend[πŸ“ frontend]
14+
_ --> ___env(.env)
15+
_ --> ___gitignore(.gitignore)
16+
_ --> __GEMINI_md(GEMINI.md)
17+
_ --> __generate_readmes_py(generate_readmes.py)
1918
```
2019

2120
### πŸ“„ FILE REGISTRY
2221
| File Name | Type | Responsibility | Key Aliases Used |
2322
|---|---|---|---|
24-
| `.env` | `env` | Configuration and foundational asset. | None |
25-
| `.gitignore` | `gitignore` | Configuration and foundational asset. | None |
26-
| `.gitignore_append` | `gitignore_append` | Configuration and foundational asset. | None |
27-
| `GEMINI.md` | `md` | Configuration and foundational asset. | None |
28-
| `generate_readmes.py` | `py` | Configuration and foundational asset. | @path |
23+
| `.env` | `env` | Core logic or foundational asset for this directory. | None |
24+
| `.gitignore` | `gitignore` | Core logic or foundational asset for this directory. | None |
25+
| `GEMINI.md` | `md` | Core logic or foundational asset for this directory. | None |
26+
| `generate_readmes.py` | `py` | Core logic or foundational asset for this directory. | @path |
2927

3028
### πŸ”— DEPENDENCIES
31-
- `...`
3229
- `@path/to/{dirname}`
3330

3431
### πŸ› οΈ USAGE
3532
```typescript
36-
// Seamlessly integrate root into your refined workflows:
37-
import { /* exported members */ } from '@path/to/root';
33+
// Seamlessly integrate . into your refined workflows:
34+
import { /* exported members */ } from '@path/to/.';
3835
```

β€Žbackend/README.mdβ€Ž

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
## 🏷️ πŸ“ Backend
44

55
### 🎯 PURPOSE
6-
The `backend` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the backend logic to ensure a seamless and premium experience.
6+
The `backend` directory provides core backend services and configuration.
77

88
### πŸ—οΈ ARCHITECTURE
99
```mermaid
1010
graph TD
1111
backend[πŸ“ backend]
1212
backend --> backend_src[πŸ“ src]
1313
backend --> backend_test[πŸ“ test]
14-
backend --> backend__prettierrc(.prettierrc)
1514
backend --> backend_eslint_config_mjs(eslint.config.mjs)
1615
backend --> backend_nest_cli_json(nest-cli.json)
1716
backend --> backend_package_lock_json(package-lock.json)
@@ -23,13 +22,12 @@ graph TD
2322
### πŸ“„ FILE REGISTRY
2423
| File Name | Type | Responsibility | Key Aliases Used |
2524
|---|---|---|---|
26-
| `.prettierrc` | `prettierrc` | Configuration and foundational asset. | None |
27-
| `eslint.config.mjs` | `mjs` | Configuration and foundational asset. | @eslint |
28-
| `nest-cli.json` | `json` | Configuration and foundational asset. | None |
29-
| `package-lock.json` | `json` | Configuration and foundational asset. | None |
30-
| `package.json` | `json` | Configuration and foundational asset. | None |
31-
| `tsconfig.build.json` | `json` | Configuration and foundational asset. | None |
32-
| `tsconfig.json` | `json` | Configuration and foundational asset. | None |
25+
| `eslint.config.mjs` | `mjs` | Configuration settings and environment setup. | @eslint |
26+
| `nest-cli.json` | `json` | Core logic or foundational asset for this directory. | None |
27+
| `package-lock.json` | `json` | Core logic or foundational asset for this directory. | None |
28+
| `package.json` | `json` | Core logic or foundational asset for this directory. | None |
29+
| `tsconfig.build.json` | `json` | Configuration settings and environment setup. | None |
30+
| `tsconfig.json` | `json` | Configuration settings and environment setup. | None |
3331

3432
### πŸ”— DEPENDENCIES
3533
- `@eslint/js`

β€Žbackend/src/README.mdβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## 🏷️ πŸ“ Src
44

55
### 🎯 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.
6+
The `src` directory provides core backend services and configuration.
77

88
### πŸ—οΈ ARCHITECTURE
99
```mermaid
@@ -23,22 +23,22 @@ graph TD
2323
|---|---|---|---|
2424
| `app.controller.spec.ts` | `ts` | Handles incoming HTTP requests. | @nestjs |
2525
| `app.controller.ts` | `ts` | Handles incoming HTTP requests. | @nestjs |
26-
| `app.module.ts` | `ts` | Module configuration and provider registration. | @modules, @nestjs |
26+
| `app.module.ts` | `ts` | Module configuration and provider registration. | @nestjs, @modules |
2727
| `app.service.ts` | `ts` | Business logic and service layer. | @nestjs |
2828
| `main.ts` | `ts` | Core logic implementation. | @nestjs |
2929

3030
### πŸ”— DEPENDENCIES
31-
- `./app.controller`
32-
- `./app.module`
33-
- `./app.service`
3431
- `./common/config/app-config.module`
3532
- `./common/database/database.module`
3633
- `@modules/admin-settings`
3734
- `@modules/auth`
3835
- `@modules/booking`
39-
- `@modules/gallery`
4036
- `@modules/inventory`
41-
- *...and more.*
37+
- `@modules/partnership`
38+
- `@modules/veil`
39+
- `@nestjs/config`
40+
- `@nestjs/testing`
41+
- `...`
4242

4343
### πŸ› οΈ USAGE
4444
```typescript

β€Žbackend/src/common/README.mdβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## 🏷️ πŸ“ Common
44

55
### 🎯 PURPOSE
6-
The `common` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the common logic to ensure a seamless and premium experience.
6+
The `common` directory provides core backend services and configuration.
77

88
### πŸ—οΈ ARCHITECTURE
99
```mermaid
@@ -20,10 +20,10 @@ graph TD
2020
### πŸ“„ FILE REGISTRY
2121
| File Name | Type | Responsibility | Key Aliases Used |
2222
|---|---|---|---|
23-
| *No files* | `-` | *Directory is strictly structural.* | `-` |
23+
| (No files) | - | - | - |
2424

2525
### πŸ”— DEPENDENCIES
26-
- *Self-contained premium module.*
26+
- `None`
2727

2828
### πŸ› οΈ USAGE
2929
```typescript

β€Žbackend/src/common/config/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## 🏷️ πŸ“ Config
44

55
### 🎯 PURPOSE
6-
The `config` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the config logic to ensure a seamless and premium experience.
6+
The `config` directory provides core backend services and configuration.
77

88
### πŸ—οΈ ARCHITECTURE
99
```mermaid

β€Žbackend/src/common/database/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## 🏷️ πŸ“ Database
44

55
### 🎯 PURPOSE
6-
The `database` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the database logic to ensure a seamless and premium experience.
6+
The `database` directory provides core backend services and configuration.
77

88
### πŸ—οΈ ARCHITECTURE
99
```mermaid

β€Žbackend/src/common/decorators/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## 🏷️ πŸ“ Decorators
44

55
### 🎯 PURPOSE
6-
The `decorators` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the decorators logic to ensure a seamless and premium experience.
6+
The `decorators` directory provides core backend services and configuration.
77

88
### πŸ—οΈ ARCHITECTURE
99
```mermaid

β€Žbackend/src/common/guards/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## 🏷️ πŸ“ Guards
44

55
### 🎯 PURPOSE
6-
The `guards` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the guards logic to ensure a seamless and premium experience.
6+
The `guards` directory provides core backend services and configuration.
77

88
### πŸ—οΈ ARCHITECTURE
99
```mermaid

β€Žbackend/src/common/interfaces/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## 🏷️ πŸ“ Interfaces
44

55
### 🎯 PURPOSE
6-
The `interfaces` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the interfaces logic to ensure a seamless and premium experience.
6+
The `interfaces` directory provides core backend services and configuration.
77

88
### πŸ—οΈ ARCHITECTURE
99
```mermaid

β€Žbackend/src/common/utils/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## 🏷️ πŸ“ Utils
44

55
### 🎯 PURPOSE
6-
The `utils` directory forms a critical foundation within the Mavluda Beauty ecosystem, meticulously orchestrating the utils logic to ensure a seamless and premium experience.
6+
The `utils` directory provides core backend services and configuration.
77

88
### πŸ—οΈ ARCHITECTURE
99
```mermaid

0 commit comments

Comments
Β (0)