run npm install
-
- pass email and password in request body
- Creates a collection in your mongo database
- The password is hashed before storage
- A token is signed
example :
{ "email" : "[email protected]", "password" : "password" }
returns the token as a response
-
- pass email and password in request body
example :
{ "email" : "[email protected]", "password" : "password" }
returns the token as a response
- pass email and password in request body
example :
-
- pass a header called
token : {the generated jwt token}
example : returns success message as a reponse
- pass a header called