Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1]: Authentication #2

Merged
merged 11 commits into from
Jul 25, 2024
Merged

Conversation

kevalkanp1011
Copy link
Contributor

@kevalkanp1011 kevalkanp1011 commented Jul 8, 2024

#1

Authentication APIs Implemented as below

  1. Login API
    route: "/login"
    Request Schema:
    username: string, password: string

  2. Register API
    route: "/register"
    Request Schema:
    name: string, username: string, password: string

  3. Send Forgot Password Otp API
    route: "/generate-otp"
    Request Schema:
    email: string

  4. Verify Forgot Password Otp API
    route: "/verify-otp"
    Request Schema:
    email: string
    otp: string
    created_on: number

  5. Reset Password API
    route: "/reset-password"
    Request Schema:
    email: string
    new_password: string
    access_token: string

@arpankumarde arpankumarde self-assigned this Jul 8, 2024
@arpankumarde arpankumarde linked an issue Jul 8, 2024 that may be closed by this pull request
7 tasks
@arpankumarde
Copy link
Member

Could you please add a .gitignore file to exclude unnecessary files and folders from being committed?

@arpankumarde arpankumarde removed their assignment Jul 8, 2024
@arpankumarde arpankumarde self-requested a review July 8, 2024 17:17
@kevalkanp1011
Copy link
Contributor Author

kevalkanp1011 commented Jul 9, 2024 via email

@kevalkanp1011
Copy link
Contributor Author

I have added the .gitignore file by removing unnecessary files (dist and node_modules)

domain/models/Otp.ts Outdated Show resolved Hide resolved
Copy link
Member

@arpankumarde arpankumarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I'm merging it

db.ts Outdated Show resolved Hide resolved
@arpankumarde arpankumarde merged commit 10b56e0 into arghyam:main Jul 25, 2024
@kevalkanp1011 kevalkanp1011 changed the title Authentication [1]: Authentication Aug 9, 2024
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.

[DMP 2024]: What's your Ripple Effect?
3 participants