Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NodeJS Authentication and CRUD operations API -: Email Verification, Image Upload, Password Reset

NotificationsYou must be signed in to change notification settings

MosesEsan/mesan-nodejs-auth-crud-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Authentication and CRUD API with Email Verification, Image Upload and Password Reset Using JWT, Passport.js and Sendgrid.

This Branch
Email Verification

Other Branch
No Email Verification

Tutorial
Tutorial availablehere.

Testing

UsePostman to test.

Try accessing the user index route without token [GET]

https://mesannodejsapiwithverification.herokuapp.com/api/user

User Index

Register and Login
Create a POST request to /api/auth/register
Create a POST request to /api/auth/login

Make sure to enter a valid email address so you can receive the verification email.

https://mesannodejsapiwithverification.herokuapp.com/api/auth/registerhttps://mesannodejsapiwithverification.herokuapp.com/api/auth/login

Register And Login

Verification Email

Update User Info and Upload Profile Image
Try updating the user information and uploading a profile image using endpoint/api/user/[your_user_id] passing the token.

https://mesannodejsapiwithverification.herokuapp.com/api/user/[user_id]

Login and Recover Password
Create a POST request to /api/auth/recover to recover your password. An email will be sent to you.

https://mesannodejsapiwithverification.herokuapp.com/api/auth/recover

Password Recovery

Reset Password and Login with new Password
Click the link in the email to reset your password.Reset the password then attempt to login with your old password. This should fail. Login with your new password

Password Reset

About

NodeJS Authentication and CRUD operations API -: Email Verification, Image Upload, Password Reset

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp