Skip to content

Unified Role-Based Profile Page with API Integration

Greeshma Kanukunta requested to merge profile-components into develop

Implement a single profile page (/profiles/:userId) to support patient, doctor, volunteer, and admin roles using one route and one page. Fetch profile data using the user ID from the URL and integrate APIs as per https://api.ehrs.swecha.org/docs.

Personal details and visit history should be visible to all roles. Vitals history and consultations must be visible only for patients with strict role-based rendering. Ensure a clean, minimal UI with no unnecessary files, perfect linting, and production-ready code.

Edited by Greeshma Kanukunta

Merge request reports

Loading