Skip to content

Architecture

Alvar Mathias Løvvang Aasgaard edited this page Mar 20, 2026 · 5 revisions

Architecture

Overview

The system follows a layered architecture.


Layers

Presentation Layer

The User Interface is what the user interacts with.

Controller Layer

Handles HTTP requests and responses.

Service Layer

Contains business logic.

Repository Layer

Handles database interaction. Handles fetching of general data.

Current_Architecture_2026_03_20

Further description

In the development of this application we have chosen to divide the source code in a couple different modules.

database

This module consists of the classes and code related to the initialiation and configuration of the database, aswell as the repositories with quieries related to the database logic.

ui

This module consists of the code related to designing the UI. Here we have an internal structure based on controllers, models and views.

utility

This module consists of the code related to fetching information about the charities from the IK api.

model

This module is the remaining code, wich is the code used for the logic of organizing the charities as objects of a class Charity. Here we aswell do have classes like Search, Sort and Account, to name a few.


Flow

  1. Request → Controller
  2. Controller → Service
  3. Service → Repository
  4. Response returned to user

Technologies

  • WireFrame
  • API
  • Relational Database
Clone this wiki locally