Skip to content

Commit 7984214

Browse files
explain control flow (#56)
1 parent 7aecd27 commit 7984214

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ flowchart LR
8585
R e6@==> id1
8686
e6@{ animate: true }
8787
```
88+
89+
1. **Request**: Server receives the incoming request.
90+
2. **Server**: Server processes the request and forwards it to the router.
91+
3. **Router**: Router directs the request to the appropriate middleware(s).
92+
4. **Middlewares**: The middlewares handle various tasks such as logging, authentication, security headers, tracing etc.,
93+
5. **Handlers**: The request is passed to the appropriate handler, which validates the request and forwards it to the repository layer.
94+
6. **Repos(DAO)**: The repository layer communicates with the database to perform CRUD operations.
95+
8896
## QuickStart
8997

9098
### Pre-requisites

0 commit comments

Comments
 (0)