hngprojects / hng_boilerplate_java_web

Apache License 2.0
155 stars 43 forks source link

[FEAT]: Backend Endpoint for Sending Verification Token #630

Closed Ofektom closed 1 month ago

Ofektom commented 1 month ago

Description

Implement a backend endpoint that sends a verification token to the user’s registered email upon account creation or email update. This token will be used to verify the user’s email address.

Changes made

How to test

Endpoint

/api/v1/auth/request/token

Request Body

{
    "email": "okpohot@gmail.com"
}

Response

"Verification email sent successfully"

Related Issue

This feature is related to the issue

Ofektom commented 1 month ago

@Am0du @Adewale66 please review

Ofektom commented 1 month ago

@Adewale66 @Am0du confirm this

Am0du commented 1 month ago

You have conflict @Ofektom

Ofektom commented 1 month ago

@lurldgbodex @gurumarv @Fifetoyi please review and merge

Ofektom commented 1 month ago

@Am0du Conflict resolved

Fifetoyi commented 1 month ago

some conflicts here

Ofektom commented 1 month ago

@Fifetoyi resolved