DevByte-Community / DevByte-Community/Community-Platform-Frontend

Projects and Resources Data Not Persisted After Logout

Open
#149 0 comments 0 reactions 1 assignee Claimed by @remmy300 View on GitHub
enhancement
Dominant language
JavaScript
Stars
6
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Description:
Projects and resources added by a user are currently only available during the active session. Once the user logs out and logs back in, the added data disappears.

This behavior suggests that the data is being stored in local state or memory rather than being persisted to the backend.

Expected Behavior:

- Projects and resources added by a user should be saved to the backend.

- Data should persist across sessions.

- On login, previously added projects and resources should be fetched and displayed.

Current Behavior:

- Projects and resources appear while the user is logged in.

- Data is lost after logout and login.

Suggested Next Steps:

- Ensure create/update actions persist projects and resources to the backend.

- Verify the correct user association when saving data.

- Fetch persisted data on login or profile page load.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.