File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ graph TD
2+ subgraph "User Service MVC Architecture "
3+ subgraph "Models "
4+ UM [ User Model]
5+ R [ Repository]
6+ DB [( MongoDB)]
7+ UM --> R
8+ R --> DB
9+ end
10+
11+ subgraph "Controllers "
12+ UC [ User Controller]
13+ AC [ Auth Controller]
14+ OC [ OAuth Controller]
15+ UC --> R
16+ AC --> R
17+ OC --> R
18+ end
19+
20+ subgraph "Routes Layer "
21+ UR [ User Routes]
22+ AR [ Auth Routes]
23+ M [ Middleware]
24+ UR --> M
25+ AR --> M
26+ M --> UC
27+ M --> AC
28+ M --> OC
29+ end
30+
31+ subgraph "External Interface "
32+ API [ API Gateway]
33+ API --> UR
34+ API --> AR
35+ end
36+ end
37+
38+ classDef models fill :#f9f , stroke :#333 , stroke-width :2px
39+ classDef controllers fill :#bbf , stroke :#333 , stroke-width :2px
40+ classDef routes fill :#bfb , stroke :#333 , stroke-width :2px
41+ classDef external fill :#fbb , stroke :#333 , stroke-width :2px
42+
43+ class UM ,R ,DB models
44+ class UC ,AC ,OC controllers
45+ class UR ,AR ,M routes
46+ class API external
You can’t perform that action at this time.
0 commit comments