yatharth1706 / node-express-mongoose-auth

Created authentication setup via node, express and mongoose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authentication

  • Created a nodejs server for authentication

Routes

  • POST localhost:3000/auth/signup
{
    "name": "Test",
    "email": "test@gmail.com",
    "password": "1234"
}
  • POST localhost:3000/auth/login
{
    "email": "test@gmail.com",
    "password": "1234"
}
  • GET localhost:3000/auth/getAllUsers (This request is protected and only logged in users will be able to call this.)

  • POST localhost:3000/auth/logout

Youtube Video Link

https://youtu.be/osLnmm5tJT4

About

Created authentication setup via node, express and mongoose


Languages

Language:TypeScript 100.0%