Skip to content

feat(auth): add login API - #52

Open
radhikagayaki wants to merge 1 commit into
TheRoboTechForum:mainfrom
radhikagayaki:feature/login-api
Open

radhikagayaki wants to merge 1 commit into
TheRoboTechForum:mainfrom
radhikagayaki:feature/login-api

Conversation

@radhikagayaki

Copy link
Copy Markdown

What does this PR do?

This PR adds a login API for user authentication.

Changes made

  • Added authentication controller
  • Added login route
  • Added authentication service
  • Added User ID and password validation
  • Added login success and error responses

API Endpoint

GET /api/auth/login

Example

GET /api/auth/login?userId=test123&password=123456

Testing

  • Server runs successfully on port 3000
  • Login endpoint is accessible
  • Missing User ID/password validation works
  • Login request reaches the authentication service

@vercel

vercel Bot commented Sep 24, 2026

Copy link
Copy Markdown

@radhikagayaki is attempting to deploy a commit to the therobotechforum's projects Team on Vercel.

A member of the Team first needs to authorize it.

@dakshtitarmare

Copy link
Copy Markdown
Collaborator

@radhikagayaki have you test this api... and you did'nt mention that where decrypt the password cause from frontend it will come with an salt !!

@dakshtitarmare

Copy link
Copy Markdown
Collaborator

you have take parameters from request for login which is rtfID and password

This branch has not been deployed

No deployments
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.

2 participants