From e078178f8087391285ead35360239e0a69b9371a Mon Sep 17 00:00:00 2001 From: Ammar Qaffaf Date: Wed, 24 Apr 2024 13:50:33 +0300 Subject: [PATCH] add architecture diagram --- README.md | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bdeaced..67eb623 100644 --- a/README.md +++ b/README.md @@ -59,4 +59,51 @@ $ npm run test:cov ## ERD Diagram -![Syncrow ERD Digram](https://github.com/SyncrowIOT/backend/assets/83524184/94273a2b-625c-4a34-9cd4-fb14415ce884) \ No newline at end of file +![Syncrow ERD Digram](https://github.com/SyncrowIOT/backend/assets/83524184/94273a2b-625c-4a34-9cd4-fb14415ce884) + + +## Architecture + +----------------------------------+ + | | + | Applications | + | | + +-----------------------------+-------------+--------------------+ + | | | + | | API Calls | + | | | + | v | + | +---------------------+------------------------+ | + | | | | | + | | Dev Slot | Staging Slot | | + | | | | | + | +---------------------+------------------------+ | + | | | | + | | | | + | | | | + | +------------------+ +---------------------+ | + | | Dev Database | | Staging Database | | + | +------------------+ +---------------------+ | + | | + | +-----------------------------------------+ | + | | | | + | | Production | | + | | | | + | +-----------------------------------------+ | + | | | | + | | | | + | | | | + | +------------------+ | | + | | Production DB | | | + | | Highly Available | | | + | | Cluster | | | + | +------------------+----------------+ | + | | Production DB | | | + | | Standby Node | | | + | +------------------+ | | + | | Production DB | | | + | | Standby Node | | | + | +------------------+ | | + | | Production DB | | | + | | Standby Node | | | + | +------------------+----------------+ | + +-----------------------------------------------------------------+