-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
Create a minimal profile page for the logged-in user. This page fetches data from /api/auth/me and displays their personal info. Styling and design polish will come later from the design team (@Frabina27 & Chris).
Goal
- Page is accessible at /profile for authenticated users only.
- On load, fetches data from
/api/auth/me. - Displays:
-- name / username
-- email
-- profile_picture (show placeholder if missing)
-- survey_completed status (might not keep this long term, but good to have for dev rn) - Handles loading and error states gracefully.
- Updates data correctly if backend changes (i.e. new profile picture).
Notes
- Styling/layout isn’t important right now, focus on displaying correct data until design team finalizes.
- Log errors to console if fetch fails.
- Code should be modular to plug in design updates later.
- You'll likely need to check with @PyDev19 for the exact field names you expect from the backend/he sends from the backend. Hooray teamwork! 🥳
Metadata
Metadata
Assignees
Labels
Type: Feature RequestNew feature or requestNew feature or request