Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Distributed Systems

-Assignment 1-

Online Medication Platform

Student: Pop Elisa Teea


Group: 30442
Teaching Assistant: Balc Diana-Maria
1. Conceptual Architecture of the distributed system
There are three parts that make up the system:
a. The backend, made in Java Spring, that handles the connection to the database and handles all
the logic behind the requirements of the application:
i. Controller​: is the backpoint on the backend side, handles the direct requests from
frontend
ii. Dtos​: used to match the data format received from the frontend and may be also used
as a request response
iii. Entities: ​contains the entities mapped on the tables alongside their relation.
iv. Main: ​contains the main application
v. Repositories: ​where data is retrieved/sent to the database
vi. Services: ​takes action over repositories and manipulates it to meet the requirements
vii. Utils: ​has utility classes, for example and encryption class.

The backend was deployed at: ​https://lifeline-medapp-backend.herokuapp.com/

b. The frontend, made in Vue.js that provides a friendly interface for the users. It mainly consists
of views that use data from the backend.

c. The database, that deals with storing data that can be later accessed by the backend
2. Database Design

A class named Person was created to maintain all the common fields between the possible roles in this
application. Namely, Doctor, Caregiver and Patient. In this way, we avoid writing duplicate code.

3. UML Deployment Diagram

Backend
4. Build and execution considerations
To access the project on the cloud:
Frontend: ​https://lifeline-medapp.herokuapp.com/
Backend: ​https://lifeline-medapp-backend.herokuapp.com/

The following users can be used to be logged in as a specific role

Doctor:
Username: tabita
Password: Password1
Caregiver:
Username: amysteele
Password: Password1
Patient:
Username: leosullivan
Password: Password1

The functionality of the backend can also be seen by sending requests using postman:

In order to run the server locally, clone the projects. For backend, run Application from the main package and
for the front end write in console
“npm run serve” and access the
given links:
Example of a page:

You might also like