PORT = "Write your port here"
jwtSecretKey = "Write your secret key here"
databaseUrl = "Write your mongodb url here"
Parameter |
Type |
Description |
email |
string |
Required. Email address |
You get your unique token in response. You need to set it in your header for the rest of the requests as you can see in example blew.
Authorization : "Bearer your token"
Parameter |
Type |
Description |
userId |
string |
Required. User Id |
Parameter |
Type |
Description |
userId |
string |
Required. User Id |
Parameter |
Type |
Description |
userId |
string |
Required. User Id |
Parameter |
Type |
Description |
promo |
string |
Required. Promo Code |