From b998a4e7ca580f19ab10862de61d7458031027f2 Mon Sep 17 00:00:00 2001 From: Gunther6070 Date: Mon, 17 Mar 2025 17:10:24 -0400 Subject: Filled out some of the sprint 2 sections --- docs/DesignDoc.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'docs/DesignDoc.md') diff --git a/docs/DesignDoc.md b/docs/DesignDoc.md index 80d3778..5fda309 100644 --- a/docs/DesignDoc.md +++ b/docs/DesignDoc.md @@ -23,9 +23,9 @@ Our project is intended to create a space to fund aquatic conservation, from phy ### Glossary and Acronyms > _**[Sprint 2 & 4]** Provide a table of terms and acronyms._ -| Term | Definition | -|------|------------| -| SPA | Single Page | +| Term | Definition | +|------|-------------| +| SPA | Single Page | ## Requirements @@ -38,6 +38,7 @@ This section describes the features of the application. ### Definition of MVP > _**[Sprint 2 & 4]** Provide a simple description of the Minimum Viable Product._ +Users are able to login to the Ufund, either as a manager or helper. Helpers are able to go to the cupboard and can view needs, search for needs, add/remove needs to their funding basket, and check out and fund needs. Managers can add, remove, and edit needs in the cupboard. Needs are saved so users and managers will see when they are updated. ### MVP Features > _**[Sprint 4]** Provide a list of top-level Epics and/or Stories of the MVP._ @@ -50,12 +51,13 @@ This section describes the features of the application. This section describes the application domain. -![Domain Model](domain-model-placeholder.png) +![Domain Model](domain-model.png) > _**[Sprint 2 & 4]** Provide a high-level overview of the domain for this application. You > can discuss the more important domain entities and their relationship > to each other._ +Each user views 1 cupboard which can contain 0 or more needs. They can take 1 or more needs and put them in their funding basket which they can then check out. 1 or more managers will manaager the 1 cupboard, add, removing, and editing needs within it. ## Architecture and Design @@ -130,7 +132,7 @@ The Model Tier contains the classes responsible for handling and serving Need da > _At appropriate places as part of this narrative provide **one** or more updated and **properly labeled** > static models (UML class diagrams) with some details such as associations (connections) between classes, and critical attributes and methods. (**Be sure** to revisit the Static **UML Review Sheet** to ensure your class diagrams are using correct format and syntax.)_ > -![Replace with your Model Tier class diagram 1, etc.](model-placeholder.png) +![Replace with your Model Tier class diagram 1, etc.](u-fund.drawio.png) ## OO Design Principles @@ -157,6 +159,8 @@ The Model Tier contains the classes responsible for handling and serving Need da > _This section will provide information about the testing performed > and the results of the testing._ +Currently around 100 tests, with roughly 95% coverage overall. Model tier is above 95% individually. + ### Acceptance Testing > _**[Sprint 2 & 4]** Report on the number of user stories that have passed all their > acceptance criteria tests, the number that have some acceptance -- cgit v1.2.3 From 91f5e51f763abb0b08c5dea468925222c8065d76 Mon Sep 17 00:00:00 2001 From: Gunther6070 Date: Mon, 17 Mar 2025 20:46:21 -0400 Subject: Updated design doc and added website mockups --- docs/DesignDoc.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'docs/DesignDoc.md') diff --git a/docs/DesignDoc.md b/docs/DesignDoc.md index 5fda309..79f2864 100644 --- a/docs/DesignDoc.md +++ b/docs/DesignDoc.md @@ -20,6 +20,8 @@ Our project is intended to create a space to fund aquatic conservation, from phy > _**[Sprint 2 & 4]** Provide a very brief statement about the project and the most > important user group and user goals._ + + ### Glossary and Acronyms > _**[Sprint 2 & 4]** Provide a table of terms and acronyms._ @@ -38,6 +40,7 @@ This section describes the features of the application. ### Definition of MVP > _**[Sprint 2 & 4]** Provide a simple description of the Minimum Viable Product._ + Users are able to login to the Ufund, either as a manager or helper. Helpers are able to go to the cupboard and can view needs, search for needs, add/remove needs to their funding basket, and check out and fund needs. Managers can add, remove, and edit needs in the cupboard. Needs are saved so users and managers will see when they are updated. ### MVP Features @@ -88,6 +91,25 @@ This section describes the web interface flow; this is how the user views and in > (Add low-fidelity mockups prior to initiating your **[Sprint 2]** work so you have a good idea of the user interactions.) Eventually replace with representative screen shots of your high-fidelity results as these become available and finally include future recommendations improvement recommendations for your **[Sprint 4]** )_ +Home Page: +![The Tiers & Layers of the Architecture](HomePage.jpeg) + +Login Page: +![The Tiers & Layers of the Architecture](LoginPage.jpeg) + +Dashboard: +![The Tiers & Layers of the Architecture](DashboardPage.jpeg) + +Cupboard: +![The Tiers & Layers of the Architecture](CuboardPage.jpeg) + +Need page: +![The Tiers & Layers of the Architecture](NeedPage.jpeg) + +Funding basket: +![The Tiers & Layers of the Architecture](FundingBasketPage.jpeg) + + ### View Tier > _**[Sprint 4]** Provide a summary of the View Tier UI of your architecture. > Describe the types of components in the tier and describe their -- cgit v1.2.3 From 1bf10f9f26f47ea5cff7ff48d5664febb0ed2585 Mon Sep 17 00:00:00 2001 From: Gunther6070 Date: Mon, 17 Mar 2025 21:30:15 -0400 Subject: Added model tier summary --- docs/DesignDoc.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/DesignDoc.md') diff --git a/docs/DesignDoc.md b/docs/DesignDoc.md index 79f2864..5d673b2 100644 --- a/docs/DesignDoc.md +++ b/docs/DesignDoc.md @@ -151,6 +151,8 @@ The Model Tier contains the classes responsible for handling and serving Need da > section will follow the same instructions that are given for the View > Tier above._ +In our model tier we have a Need class, a User class, and a UserAuth class. The Need class represents needs and has fields for all of their values. Users have a passwordHash field, storing a hashed version of their password, an List of integers, representing the ID's of needs in the basket, and the userType which determines their privileges. The UserAuth class stores a key, a username, and expiration. A key is generated for a user and is used to authenticate the user. The username is the name associated with the key and the expiration is how long until the user must login again. + > _At appropriate places as part of this narrative provide **one** or more updated and **properly labeled** > static models (UML class diagrams) with some details such as associations (connections) between classes, and critical attributes and methods. (**Be sure** to revisit the Static **UML Review Sheet** to ensure your class diagrams are using correct format and syntax.)_ > -- cgit v1.2.3