• Stars
    star
    1
  • Language
    JavaScript
  • Created over 3 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This project consist of the Rest API's build-in node-js using express and mongo-DB for doing login, signup as well as to show the profile of the user and then finally logging out the user Here first simple sign-up route has been created, Here user have to provide his just email and password, you can change this in user schema according to your need, one email can be registered only once, if he tried to register again auth failed will be shown, then for logging up he has to provide correct credentials for login, if any of the 2 things is wrong he won't be able to log in, then I am generating here a jwt token, which will only expire when the person logged out.