This App is built using
In the project directory, you can run:
With this command backend and API web service will start at localhost:8000/api/
POST at localhost:8000/api/signup
with data
{
"email":"user emailID"
}
{
"status": true,
"data": {
"OTP": 658094
},
"message": "otp sent successfully"
}
{
"status": true,
"data": {
"OTP": 793169
},
"message": "User Succesfully Resgistered ! otp sent successfully"
}
{
"status": false,
"data": {},
"message": "Must be a valid email address"
}
POST at localhost:8000/api/signin
with data
{
"email":"user emailID",
"otp":"OTP data"
}
{
"status": true,
"data": {
"otp": "683693"
},
"message": "otp confirmed successfully"
}
{
"status": false,
"data": {},
"message": "Email and OTP does not match."
}
{
"status": false,
"data": {},
"message": "OTP must be at least 6 characters long"
}
{
"status": false,
"data": {},
"message": "User with this email does not exist. Please signup."
}
GET at localhost:8000/api/signup
{
"status": false,
"data": {},
"error": "Oops. it seems like you do not have access to this route"
}
GET at localhost:8000/api/signin
{
"status": false,
"data": {},
"error": "Oops. it seems like you do not have access to this route"
}