Skip to content

Profile ​

Profile page screenshot

Overview ​

Allows a signed-in user to view and update their personal profile fields.

  • Route: /profile (protected)
  • Source: front/src/pages/Profile.tsx
  • Layout: DashboardLayout

Actions and data flow ​

  • On mount calls GET /auth/me through authService.getCurrentUser().
  • Submit updates name, email, department, job title, and phone with PUT /auth/me.
  • Success updates form state from the response and shows temporary success feedback.

States ​

Initial spinner, load error, submit state, success feedback, and submit error are implemented. Exact backend validation is not available from frontend source.

Source: front/src/pages/Profile.tsx, front/src/services/api/authService.ts.

See Authentication API.