Skip to content

Authentication system with node.js with reset password functions and much more

Notifications You must be signed in to change notification settings

samip779/authentication-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication Api with nodejs

User Authentication api made with nodejs and express framework. Has features like token based user validation and resetting password.

Run Locally

Clone the project

  git clone https://github.com/samip779/authentication-system.git

Go to the project directory

  cd authentication-system

Install dependencies

  npm install

Start the server

  npm run start

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

JWT_SECRET

Mail trap is used for fake email testing for development phase of the api. You can signup and us it HERE. You will get followings credentials after signing up which should be stored in your .env file.

MAILTRAP_USERNAME
MAILTRAP_PASSWORD
MAILTRAP_HOST
MAILTRAP_PORT

API Reference

create new user

POST /api/user/create

SignIn

POST /api/user/signin

Verify Email

POST /api/user/verify-email

About

Authentication system with node.js with reset password functions and much more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published