Skip to content

Add JWT-based Authentication with Secure Password Hashing#42

Closed
codewkaushik404 wants to merge 0 commit into
OpenCodeChicago:mainfrom
codewkaushik404:main
Closed

Add JWT-based Authentication with Secure Password Hashing#42
codewkaushik404 wants to merge 0 commit into
OpenCodeChicago:mainfrom
codewkaushik404:main

Conversation

@codewkaushik404
Copy link
Copy Markdown
Contributor

Description

This PR implements user authentication and authorization functionality for the backend, including:

  • User signup and login routes (POST /api/auth/signup, POST /api/auth/login)
  • Password hashing using bcrypt for secure storage in the database
  • JWT tokens for session management during login

This implementation allows users to register, log in, and receive JWT tokens for session management.

Closes #24

Type of Change

  • New feature

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code where necessary
  • I have updated documentation (README, Usage, etc.)
  • My changes generate no new warnings or errors
  • I have added tests (if applicable)
  • All tests pass locally with my changes

@Alexandrbig1
Copy link
Copy Markdown
Contributor

@kaushikkanduri, great work. Please delete package.json and package-lock.json files from your PR, and fetch latest updates and resolve conflicts in your PR. Please.
ee2
ee22

@codewkaushik404
Copy link
Copy Markdown
Contributor Author

codewkaushik404 commented Oct 12, 2025 via email

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.

[Feature]: Setup Authentication and Authorization using JWT

2 participants