A rest Api for Agrotivo website
create user
http://localhost:3000/auth/user/
login user
http://localhost:3000/auth/user/login
update user
http://localhost:3000/users/user/(user-id)
delete User
http://localhost:3000/users/(user-id)
get balance
http://localhost:3000/users/balance/(user-id)
update balance
http://localhost:3000/users/balance/(user-id)
get a user
http://localhost:3000/users/find/(user-id)
get all users
http://localhost:3000/users/
get user statistic
http://localhost:3000/users/stats
create product
http://localhost:3000/product/
update product
http://localhost:3000/product/(product-id)
delete product
http://localhost:3000/product/(product-id)
get product
http://localhost:3000/product/find/(product-id)
get all products
http://localhost:3000/product
create order
http://localhost:3000/order/
update order
http://localhost:3000/order/(order-id)
delete order
http://localhost:3000/order/(order-id)
get order
http://localhost:3000/order/find/(order-id)
get all products
http://localhost:3000/order
create withdraw
http://localhost:3000/withdraw/
update withdraw
http://localhost:3000/withdraw/(withdraw-id)
delete withdraw
http://localhost:3000/withdraw/(withdraw-id)
get withdraw
http://localhost:3000/withdraw/find/(withdraw-id)
get all withdraw
http://localhost:3000/withdraw
create vendor
http://localhost:3000/vendor/
update vendor
http://localhost:3000/vendor/(vendor-id)
delete vendor
http://localhost:3000/vendor/(vendor-id)
get all vendor
http://localhost:3000/vendor/find