aau-giraf / web-api

The backend API for GIRAF — a .NET-core project written in C#.
GNU General Public License v3.0
2 stars 5 forks source link

Feature/856v2 #302

Closed JonasStjerne closed 1 year ago

JonasStjerne commented 1 year ago

Description

This PR makes progress toward solving the issue https://github.com/aau-giraf/weekplanner/issues/856

The work done on this branch extends the previous progress made on the branches:

Weekplanner branch: https://github.com/aau-giraf/weekplanner/tree/feature/856 Api_client branch: https://github.com/aau-giraf/api_client/tree/feature/856

The branches had completed the following subtasks:

This PR is linked to two other PRs: Api-client: PR Weekplanner: PR

The progress made on this branch are the following subtasks:

This feature adds the ability for a user to contain a profile picture. The profile picture is optional and will be null by default.

When a citizen is created in the Weekplan app, there will be an optional field to upload a picture.

image

The endpoints that have changed with this feature are: /v2/Account/register /v1/User /v1/User/21/citizens

The citizen's pictures will also be displayed on the user-select screen of the guardian if a picture is available.

image

Type of change

How Has This Been Tested?

Tested manually. Tests are yet to be implemented.

How to test for yourself

This should be tested together with the weekplanner (https://github.com/aau-giraf/weekplanner/tree/feature/856v2) in this way:

Development Configuration

Checklist: