Skip to content

Implement global authentication and local data sync - #291

Open
MoonTree26 wants to merge 1 commit into
Algolisted-Org:mainfrom
MoonTree26:feat/global-auth-local-sync
Open

Implement global authentication and local data sync#291
MoonTree26 wants to merge 1 commit into
Algolisted-Org:mainfrom
MoonTree26:feat/global-auth-local-sync

Conversation

@MoonTree26

Copy link
Copy Markdown

Closes #281

Summary:

  • Implemented email/password signup and login with hashed passwords and JWT responses.
  • Added authenticated localStorage sync endpoints for pushing and reading user-local data on demand.
  • Updated the auth page to store the authenticated user/token, auto-sync after login/signup, and expose a manual Sync Local Data button.
  • Documented the API base URL and sync behavior in the README.

Validation:

  • node --check backend/Controllers/auth/user_auth.js
  • node --check backend/Middleware/auth.js
  • node --check backend/Models/userModel.js
  • node --check backend/Routers/router_auth.js
  • git diff --check

Bounty claim:
This PR resolves the $10 bounty in #281.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Authentication throught out the website [ Bounty 10$ ]

1 participant