[ ] Profile details include the following information (first name, last name, profile image).
On click of the table where we list the members we will be rerouted to this [id].tsx page, where initially we would be able to view the information about the member. On top of it we will have Edit, Delete buttons. On click of Edit the fields will become editable.
We should also implement input validation.
Business Requirement As an admin, I want to view and edit members profiles based on the user’s role to keep user details up-to-date.
Acceptance Criteria
Implement API endpoints for:
On click of the table where we list the members we will be rerouted to this [id].tsx page, where initially we would be able to view the information about the member. On top of it we will have Edit, Delete buttons. On click of Edit the fields will become editable. We should also implement input validation.