[POST] Signup http://localhost:3001/api/v1/signup
{
"name": "Protik",
"username": "arifulprotik",
"email": "aiprotik2@gmail.com",
"password": "11223344",
"confirm_password": "11223344"
}
[POST] SignIn http://localhost:3001/api/v1/signin
{
"email": "aiprotik2@gmail.com",
"password": "11223344"
}
[GET] Refresh http://localhost:3001/api/v1/refresh
Header: token:refreshtoken
[PUT] Update User to ServiceProvider http://localhost:3001/api/v1/user
Authentication Required Bearer Token: access token
[POST] CREATE location http://localhost:3001/api/v1/location/create
Authentication Required Bearer Token: access token
{
"name": "Kafrul, Dhaka"
}
[POST] CREATE category http://localhost:3001/api/v1/category/create
Authentication Required Bearer Token: access token
{
"name": "PC/Laptop"
}
[POST] New Service http://localhost:3001/api/v1/service/create
Authentication Required Bearer Token: access token
{
"title": "PC Servicing",
"instruments": ["screw", "gfx card"],
"category": "1",
"location": "1",
"cost": "200",
"additionalcost": "300"
}
instruments and additionalcost are optional
[GET] ALL available services http://localhost:3001/api/v1/services
[GET] MyServices http://localhost:3001/api/v1/myservices
Authentication Required Bearer Token access token
[POST] Place Order http://localhost:3001/api/v1/order/create
Authentication Required Bearer Token:: access token
{
"serviceid": "69432056-1b54-455e-aee9-90d3903b4a3e",
"address": ["588", "West ShewraPara", "Kafrul", "Dhaka"]
}
[GET] OrderHistory http://localhost:3001/api/v1/orderhistory
Authentication Required Bearer Token:: access token
[PUT] OrderRequets http://localhost:3001/api/v1/myorders
Authentication Required Bearer Token: access token
[PUT] Decline Request http://localhost:3001/api/v1/order/:orderID/decline
Authentication Required Bearer Token:: access token