Skip to content

🔐 User Authentication and Database State Persistence #3

Description

@shreyaa-hash

Description

Currently, user preferences, target goals, learning progress, and readiness scores are stored entirely in the browser's localStorage (via the state manager in js/app.js). This means data is lost if the user clears their cache, and they cannot access their profile from different devices. We want to implement user login and save progress to a database.

Tasks for Contributors

  • Implement user signup, login, and logout endpoints.
  • Integrate JWT or OAuth (e.g., Google or GitHub login) for security.
  • Design a database schema (MongoDB, PostgreSQL, or Firebase) to store user states (profile stats, completed roadmap checkpoints, interview attempts, and resume status).
  • Update loadState() and saveState() functions in js/app.js to read/write state parameters to the server database rather than local browser storage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions