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://your-domain.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://your-domain.com/api/auth
Request Body
Name
Type
Description
string
Email of the user
password
string
Password of the account
Auth User
GET
http://your-domain.com/api/auth
Headers
Name
Type
Description
x-auth-token
string
Last updated