OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

BL for user info about my profile #119

Open OlhenShu opened 5 months ago

OlhenShu commented 5 months ago

Summary

As a User, I want to see info about my profile.

Acceptance Criteria

The following should be displayed:

  1. Profile avatar if it exists, if not, display default picture
  2. Username
  3. The City field contains the city and country name. User City if it exists, if not, display nothing
  4. User status
  5. User credo if it exists, if not, display nothing
  6. User Rate if it is more than 0, if not, display 0 Edit profile icon isn't a part of a story Social networks isn't a part of a story

Tasks

  1. [x] Profile avatar
  2. [x] Username
  3. [x] City
  4. [x] Status
  5. [x] Rate
  6. [x] User credo
  7. [x] Pull Request
  8. [x] Merge

API

https://greencity.azurewebsites.net/user/userId/profile/

{ "city": "string", "firstName": "string", "profilePicturePath": "string", "rating": 0, "showEcoPlace": true, "showLocation": true, "showShoppingList": true, "socialNetworks": [ "string" ], "userCredo": "string" }

Mockups

image