Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

view connection #7

Open
18 tasks
emanKhaledh opened this issue Jul 23, 2018 · 0 comments
Open
18 tasks

view connection #7

emanKhaledh opened this issue Jul 23, 2018 · 0 comments

Comments

@emanKhaledh
Copy link
Contributor

emanKhaledh commented Jul 23, 2018

A page where a user can find his/her connections list.

  • front end:
  • connection list component
    Acceptance Criteria:
  • a Section contains a cards list of the carers that user connected with.
  • each card should include an avatar image according to the carer gender.
  • each card should include carer name label.
  • when to click on a card a menu will appear with three choices (view profile, delete and chat)
  • backend:
    Acceptance Criteria:
  • DB users schema require to it: id, gender, name.

  • Routes: api/carer_profile

    • Get: send back an array if connected carers.
  • Routes: api/carer_profile:id

    • Get: view the carer profile window.
    • Post : send back an carer id to delete connection.
  • Queries:

    • getAllCarers.
    • viewCarer.
    • deleteCarer.
  • Tests:

    • Queries.
    • Routes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants