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

Replace fixed contacts in UI with data from Contacts API #10

Open
marsbergen opened this issue Jul 22, 2024 · 0 comments
Open

Replace fixed contacts in UI with data from Contacts API #10

marsbergen opened this issue Jul 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@marsbergen
Copy link
Contributor

Context

To create the MVP we initially hardcoded the contacts in the UI. Now the MVP is validated, we need to fetch the data from the API.

Technical Requirements

  • Connect the Contacts list in the frontend with the Contacts API endpoint.
  • Make sure all phone numbers are formatted correctly so they won’t break the call button
  • Use the Contacts model which already contains the contact list
  • Create an API on [GET] /contacts which returns a JSON response with the following fields:
    • (full) name
    • avatar
    • phone
    • email
@marsbergen marsbergen added the enhancement New feature or request label Jul 22, 2024
@infowijs infowijs locked and limited conversation to collaborators Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant