Skip to content

saurabh0227/codevian-saurabh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commant to up the server

npm start

used babel to access es6 features of nodejs

Folder structure

src -> api -> user (model, route and controller) src -> api -> services (contains nodemailer and auth verification)

Generated token will expire in 1 hour

Endpoints

/user/signup => to register new user /user/login => to logined registered user /user/confirmation/:token => to verify email id /user/list => to get the list of registered users

used jasonwebtokens to generater and verify token

used bcryptjs to create hashed password

used express-validator to validate the input data in body and to check that email must be unique

used local database

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published