A painless codebase to build your apps on in no time. It's a basic node/express basic templete that covers signup and email verification, login, forgot password and reset password. This codebase got you covered for any basic code, all you have to is to focus on main functionality of your app.
- /user/auth/login
-Sample Request Data"email":"[email protected]", "password":"abcd"
} This route is used for user login, where it issue a JWT verification token for authentication and authorization in a protected routes
- /user/auth/register
-Sample Request Data"email":"[email protected]", "password":"abcd"
} This Route register the user and sends email for account verification
- /user/auth/confirm/email/:token/:user
A route that confirms the email when a user follows link sent to him in account when he registers his email account - /user/auth/forgot/password/init
-Sample Request Data"email":"[email protected]",
} A route that issue for forgot password email for forgot password
- /user/auth/password/change/:token/:issuer
"password":"123456",
} Its used for setting the password password after the issued forgot password link is followed from the user's mail box
- /user/auth/password/reset
Its used for reseting password -Sample Request Data"oldPassword":"1234", "newPassword":"abcd"
}