From 3cde90a0e29ab081be18d8401f514f1b6a3caa4e Mon Sep 17 00:00:00 2001 From: benal01 Date: Mon, 14 Apr 2025 20:44:43 -0400 Subject: archetecture --- docs/DesignDoc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/DesignDoc.md b/docs/DesignDoc.md index 42393c0..6014908 100644 --- a/docs/DesignDoc.md +++ b/docs/DesignDoc.md @@ -139,7 +139,7 @@ Each user views 1 cupboard which can contain 0 or more needs. They can take 1 or This section describes the application architecture. -The application is seperated into three tiers. These include the view, viewmodel, and model tiers. The view tier has many angular components, including the cupboard, dashboard, funding basket, homepage, login, mini-cupboard, need-edit, need-list, and toast. These are all used through angular to serve a UI application through the browser. This browser connects through the Viewmodel tier using a REST API. The API is instantiated through springboot. The API uses controllers and services to perform opertaions on the data and return values back to the view tier. The model tier contains the structure of objects, such as needs or users and the persistence of the system. The persistence uses DAO's, or data access objects. These are abstracted classes that can be further defined to interact with databases, files, or other objects. Currently, all the persistence is handled through JSON files through file DAOs. +The application is seperated into three tiers. These include the view, viewmodel, and model tiers. The view tier has many angular components, including the cupboard, dashboard, funding basket, homepage, login, mini-cupboard, need-edit, need-list, and toast. These are all used through angular to serve a UI application through the browser. This browser connects through the Viewmodel tier using a REST API. The API is instantiated through springboot. The API uses controllers and services to perform opertaions on the data and return values back to the view tier. The model tier contains the structure of objects, such as needs or users and the persistence of the system. The persistence uses DAO's, or data access objects. These are abstracted classes that can be further defined to interact with databases, files, or other objects. Currently, all the persistence is handled through JSON files through file DAOs. ### Summary The following Tiers/Layers model shows a high-level view of the webapp's architecture. -- cgit v1.2.3