- Created a nodejs server for authentication
- 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