DevByte-Community / DevByte-Community/Community-Platform-Frontend
Projects and Resources Data Not Persisted After Logout
- 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
Assessment
This issue has not been assessed yet.