Skip to content

Architectural Design

Zeiad Badawy edited this page Apr 15, 2024 · 5 revisions

The Architectural design following the Three-Tire architecture, which is similar to MVC architecture, but separates concerns into three distinct layers (view tier, data tier, and logic tier), instead of interconnected, tightly coupled components in the case of MVC.

The interaction between the view layer and the logic layer is via an API, where each of the layers runs on a different server, so, no coupling between them at all.

The logic layer interacts with the data layer via an API (database driver) where the logic layer connects to a cloud-based database.

image

As for the project structure, we have two main directories inside the src directory, the backend, and frontend directories.

Backend, and Frontend abstract package diagram:

image

More comprehensive view of the backend directory:

image

Clone this wiki locally