Open pupudu opened 8 years ago
This is regarding issue #2 @agentmilindu @rhperera
To test the JWT token generation route, please send a POST request to /authenticate with the following body.
{ username: "dodan", password: 1 }
To test the passport authentication, send a request POST /login with a payload in following pattern
To test the create user route, send a request, POST /signup with a payload in following pattern
{ name: "Pubudu", username: "dodan", password: 1 }
Note - Password hashing is done using bcrypt-nodejs module
This is regarding issue #2
@agentmilindu
@rhperera
To test the JWT token generation route, please send a POST request to /authenticate with the following body.
To test the passport authentication, send a request POST /login with a payload in following pattern
To test the create user route, send a request, POST /signup with a payload in following pattern