Points: 50
Team Assignment: One submission per team
Purpose
In this assignment, your team will apply the software design and architectural patterns discussed in class to your project.
Your application does not need to be fully implemented yet. Instead, document either:
- Patterns your team has already implemented in code, or
- Patterns your team intends to use as you continue building the application.
The goal is to make intentional design decisions before your codebase becomes difficult to change.
What to Submit
Submit your GH repo link which should have one PDF, PowerPoint, Word document, or shared link that includes the following sections.
1. Proposed Architecture
Identify the primary architecture pattern your application uses or will use.
Examples include:
- Layered architecture
- Client-server architecture
- Model-View-Controller (MVC)
- Microservices
- Event-driven architecture
Include:
- The name of the architecture pattern
- A brief explanation of why it fits your application
- A diagram showing the major layers, components, or services
- The direction of communication among components
For example, a MERN application might show:
React client -> Express API -> service layer -> MongoDB database
Your diagram should also show important external systems, such as Supabase Auth, Stripe, Google Maps, or a notification service, if your app uses them.
2. High-Level Design Diagram
Create a high-level design diagram that shows the major parts of your application.
Include:
- Main client-side components or pages
- Backend routes, controllers, or services
- Data storage
- Important external APIs or systems
- Key data flows between components
Do not show every function or database field. Focus on the major parts of the system and how they work together.
3. Design Patterns
Select at least two one design pattern that your team is using or intends to use.
The design pattern must come from the Gang of Four design patterns discussed in class.
Possible examples include:
- Strategy
- Observer
- Factory Method
- Adapter
- Facade
- Singleton
- Command
- State
For the pattern:
- Name the pattern.
- Explain the problem it solves in your application.
- Identify the classes, modules, components, or services involved.
- Include a small UML diagram, code snippet, pseudocode, or annotated design sketch.
- Explain why this pattern is a better choice than placing all of the logic in one large component or module.
If the pattern is planned rather than implemented, clearly label it Planned and explain how your team intends to implement it.
4. Design Decisions and Tradeoffs
Briefly describe at least two design decisions your team made.
For each decision, explain:
- What options your team considered
- Which option your team selected
- Why that choice fits the project’s current needs
Examples:
- Using Supabase Auth rather than building authentication from scratch
- Using a service layer to separate business logic from Express routes
- Using an Adapter to work with a third-party maps API
- Using the Observer pattern to send delivery-status notifications
Turn in |
Add the pdf to your GH repo and submit the link to the repo in the Canvas assignment. Total: 50 points