POST
https://seva-backend1.herokuapp.com/register
{
"userName" : "bhupendra",
"fullName" : "user bhupendra ",
"email":"[email protected]",
"img":"https://res.cloudinary.com/drampnn2w/image/upload/v1615808628/user_iapj1a.tiff"
"password":"12345678",
"role": "provider",
"state": "MH",
"city": "pune",
"village": "katraj",
"pincode": "411048"
}
POST
https://seva-backend1.herokuapp.com/login
{
"email":"[email protected]",
"password": "12345678"
}
GET
https://seva-backend1.herokuapp.com/user
Header :
auth-token - token-value
GET
https://seva-backend1.herokuapp.com/provider
Header :
auth-token - token-value
GET
https://seva-backend1.herokuapp.com/admin
-
GET
https://seva-backend1.herokuapp.com/feedback
-
GET
https://seva-backend1.herokuapp.com/feedback/:feedbackId
-
GET
https://seva-backend1.herokuapp.com/user/my/feedback/:userId
Header :
auth-token - token-value
POST
https://seva-backend1.herokuapp.com/user/feedback
Header :
auth-token - token-value
PUT
https://seva-backend1.herokuapp.com/user/feedback/:feedbackId
Header :
auth-token - token-value
DELETE
https://seva-backend1.herokuapp.com/user/feedback/:feedbackId
Header :
auth-token - token-value
GET
https://seva-backend1.herokuapp.com/admin/category
GET
https://seva-backend1.herokuapp.com/admin/category/:categoryId
POST
https://seva-backend1.herokuapp.com/admin/category
{
"icon":"https://res.cloudinary.com/drampnn2w/image/upload/v1615808107/Healthicon_ih06eq.png",
"category": "Health Care",
"description": "Health Care Service"
}
PUT
https://seva-backend1.herokuapp.com/admin/category/:Id
{
"icon":"https://res.cloudinary.com/drampnn2w/image/upload/v1615808107/Healthicon_ih06eq.png",
"category": "Health Care",
"description": "Health Care Service"
}
DELETE
https://seva-backend1.herokuapp.com/admin/category/:Id
GET
https://seva-backend1.herokuapp.com/service
GET
https://seva-backend1.herokuapp.com/seriveBycategory/:categoryId
GET
https://seva-backend1.herokuapp.com/seriveBycategoryAndPin/:categoryId/:pin
GET
https://seva-backend1.herokuapp.com/service/:serviceId
GET
https://seva-backend1.herokuapp.com/serviceByPin/:pincode
GET
https://seva-backend1.herokuapp.com/VerifiedService
GET
https://seva-backend1.herokuapp.com/provider/my/service/:Id
Header :
auth-token - token-value
POST
https://seva-backend1.herokuapp.com/provider/service
Header :
auth-token - token-value
{
"image": "sdfsd",
"serviceNames": " new provider demo",
"serviceEmail": "[email protected]",
"servicePincode":"411048",
"category": "604cdf8b0bc38c07e8a6fd94",
"contactNo": "+91844******9",
"map_location": "map location",
"description": "sadfsdf"
}
PUT
https://seva-backend1.herokuapp.com/provider/service/:Id
Header :
auth-token - token-value
{
"image": "sdfsd",
"serviceNames": " new provider demo",
"serviceEmail": "[email protected]",
"servicePincode":"411048",
"category": "604cdf8b0bc38c07e8a6fd94",
"contactNo": "+91844******9",
"map_location": "map location",
"description": "sadfsdf"
}
DELETE
https://seva-backend1.herokuapp.com/provider/service/:Id
Header :
auth-token - token-value
GET
https://seva-backend1.herokuapp.com/suggestionBycategory/:categoryId
GET
https://seva-backend1.herokuapp.com//VoteSuggestion/:suggestionId
GET
https://seva-backend1.herokuapp.com/s/suggestionBycategoryAndPin/:categoryId/:pin
GET
https://seva-backend1.herokuapp.com/suggestion/:suggestionId
GET
https://seva-backend1.herokuapp.com/suggestion
GET
https://seva-backend1.herokuapp.com/suggestionByPincode/:pincode
GET
https://seva-backend1.herokuapp.com/validSuggestion
GET
https://seva-backend1.herokuapp.com/user/my/suggestion/:userId
Header :
auth-token - token-value
GET
https://seva-backend1.herokuapp.com/user/my/suggestion/:userId
Header :
auth-token - token-value
https://seva-backend1.herokuapp.com/user/my/suggestion/604cc1fd43e82822a85786e6
user id - 604cc1fd43e82822a85786e6
POST
https://seva-backend1.herokuapp.com/user/suggestion
Header :
auth-token - token-value
{
"ServiceType": "chai`s shop",
"ServicePinCode": "411046",
"category": "604cdf8b0bc38c07e8a6fd94",
"ServiceDescription": "Service Description"
}
PUT
https://seva-backend1.herokuapp.com/user/suggestion/:suggestionId
Header :
auth-token - token-value
"ServiceType": "chai`s shop",
"ServicePinCode": "411046",
"category": "604cdf8b0bc38c07e8a6fd94",
"ServiceDescription": "Service Description"
DELETE
https://seva-backend1.herokuapp.com/user/suggestion/:suggestionId
Header :
auth-token - token-value
GET
https://seva-backend1.herokuapp.com/admin/alluser
GET
https://seva-backend1.herokuapp.com/user/profile/:profileId
PUT
https://seva-backend1.herokuapp.com/user/profile/:profileId
Header :
auth-token - token-value
"fullName" : "user bhupendra ",
"state": "MH",
"city": "pune",
"village": "katraj",
"pincode": "411048"
DELETE
https://seva-backend1.herokuapp.com/user/profile/:profileId
Header :
auth-token - token-value
GET
https://seva-backend1.herokuapp.com/provider/profile/:profileId
PUT
https://seva-backend1.herokuapp.com/provider/profile/:profileId
Header :
auth-token - token-value
"fullName" : "user bhupendra ",
"state": "MH",
"city": "pune",
"village": "katraj",
"pincode": "411048"
DELETE
https://seva-backend1.herokuapp.com/provider/profile/:profileId
Header :
auth-token - token-values