GitHub repository dedicated to SoftwareEngineering project exam
Home page | Login Page | Register Page |
---|---|---|
![]() |
![]() |
![]() |
My Projects Page | Create New Project |
---|---|
![]() |
![]() |
- Download the file setup.zip
- Extract it
- Copy the content of the extracted folder (setup) into project root
- If present, delete the file
qualitag/src/main/resources/credentials/tokens/StoredCredential
- Run the main of the file
qualitag/src/main/java/it/unisannio/studenti/qualitag/service/GmailService.java
- Click on the link
- Log in with a google account
- A folder will be created in
C:\Users\<username>\AppData\Local\Temp\tokens####
- Inside the folder will be a file named
StoredCredential
; copy it inside the folder:qualitag/src/main/resources/credentials/tokens/
. - You're good to go.
To run the project using docker just move into the same folder as the file "docker-compose.yaml" and run the commands:
$ docker compose build // build the project
$ docker compose compose up -d // run the app
Move into the scripts
folder and run:
./test_docker.sh
A user can connect to the system only after logging in; if they do not have an account, they can register using email:password.
After logging in, the user can perform two operations:
- Create a new project --> when the project is created, the "ownerId" field of the project is assigned to the userId of the user who created it.
- If a user is associated with the project, they see it in the list of available projects, and if they are the owner, they have access to a dashboard that exposes the following functionalities:
- Terminate the tagging operation, so that all basic users will no longer see the artifacts.
- Add artifacts to be tagged to the project. If the tagging operation is complete, no more artifacts can be added to the project.
- If the user is not the owner of the project, they can view their projects but instead of seeing the dashboard, they see a list of artifacts to be tagged; the name of each artifact is given by the filename.
- Artifacts marked as tagged are displayed at the bottom and can no longer be tagged.
- Artifacts to be tagged are displayed at the top.
- The user can click on an artifact, which opens a screen displaying the text of the artifact.
- It is possible to add a new tag associated with the artifact; each tag stores the user who created it: We have a
createdBy
field in the Tag object that stores the user who added it to the artifact. - Tags created to tag an artifact are not also saved for easy access next time. too complex for a basic implementation.
- Tag deletion
- The user can delete a tag associated with the artifact by clicking the x next to the tag content displayed in the list of tags associated with the artifact.
- It is possible to add a new tag associated with the artifact; each tag stores the user who created it: We have a
- If a user is associated with the project, they see it in the list of available projects, and if they are the owner, they have access to a dashboard that exposes the following functionalities: