developedbyjay / agrotivo_api

A rest Api for Agrotivo website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

agrotivo_api

A rest Api for Agrotivo website

USER Routes

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

Product routes

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

Order Routes

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

Withdraw Routes

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

Vendor Routes

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

About

A rest Api for Agrotivo website


Languages

Language:JavaScript 99.9%Language:Procfile 0.1%