Mongoose
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 -
Register User
POST
https://crema-mongoose.herokuapp.com/api/users
This endpoint allows you to get free cakes.
Request Body
Name | Type | Description |
---|---|---|
name | string | Name of the user |
string | Email of the user | |
password | string | Password for the account |
Login User
POST
http://crema-mongo-api.herokuapp.com/api/auth
Request Body
Name | Type | Description |
---|---|---|
string | Email of the user | |
password | string | Password of the account |
Auth User
GET
http://crema-mongo-api.herokuapp.com/api/auth
Headers
Name | Type | Description |
---|---|---|
x-auth-token | string |
Last updated