Skip to content

FEATURE REQUEST: Connect Frontend With Backend User Systemย #175

@PinJinx

Description

@PinJinx

Is your feature request related to a problem?

  • Yes, it is related to a problem

Describe the feature you'd like

๐ŸŒŸ Feature Description

Our backend now includes a complete users table and several related entities, but the frontend still relies on mock user data. As a result, the Profile page does not display actual authenticated user information, and backend-linked records are reflected in the UI.

๐Ÿ” Problem Statement

The Profile page still uses mock data and does not display real user information. Additionally, both the frontend and backend independently connect to Supabase, causing duplication and inconsistent data handling. The frontend needs to stop using mock data and rely solely on backend-managed user data.

๐ŸŽฏ Expected Outcome

  • Replace all mock data on the Profile page with real user data coming from backend API endpoints.
  • Ensure proper linkage between the authenticated user and their backend-stored profile record.
  • Implement clear loading, error, and empty UI states.
  • Maintain full type safety through TypeScript interfaces consistent with the backend schema.

๐Ÿ“ท Screenshots and Design Ideas

Image

๐Ÿ“‹ Additional Context

I hoped to create endpoints in the backend and manage the supase stuff in the backend itself currently both front end and back end connects to supa base for fetching data and retrieving things. This is unnecessary and wasting resources.I thought we could migrate everything to the back end.

Record

  • I agree to follow this project's Code of Conduct
  • I want to work on implementing this feature

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions