bounswe / 2021SpringGroup4

This is the project repository of Group 4 for Boğaziçi University's Fundamentals of Software Engineering course.
2 stars 1 forks source link

Frontend: Create badge component and implement the giving badge functionality to Profile Page #243

Closed yagmurse closed 2 years ago

yagmurse commented 2 years ago

Create badge component and implement the giving badge functionality to Profile Page. Users should be able to select the badge to give the desired users. The related owner, event and type informations should be sent to /api/badges/ endpoint of the backend.

yagmurse commented 2 years ago

I created the badge pictures folder and shared it with android and backend team via our whatsapp group.

yagmurse commented 2 years ago

Initially I was working on frontend-badge branch. Initial commit for creating the badge component is made here to the frontend-comment branch. This commit is lack of the Post request to be sent to backend.

yagmurse commented 2 years ago

Final completed version is shared as a code snippets via google meet before the demo night. Since we were running out of time we thought it would be more fast and error free instead of merging seperate branch. The final version of the code of giving the badge to user can be found in this commit under the code/frontend/src/pages/UserProfile.js.