Mongoose
Crema has some auth inbuilt APIs. Demo APIs listed here -
Crema has some auth inbuilt APIs. Demo APIs listed here -
You can find out the Mongoose auth APIs public repo here
All Auth APIs listed here -
POST
https://www.your-domain.com/api/v1/users
This API is used for the register user
Name | Type | Description |
---|---|---|
POST
https://www.your-domain.com/api/v1/auth
This API is used for the login user
GET
https://www.your-domain.com/api/v1/auth
This API is used to check the auth token validation
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
name*
String
Name of the user
email*
String
Email of the user
password*
String
Password for the account
email*
String
Email of the user
password*
String
Password of the account
x-auth-token*
String
Bearer token