Agatang E-commerce
E-commerce Farm App, allow farmers sell thier products wholesale / retail
Tech
Backend
https://tablangdelio-csp2-api.herokuapp.com/api/Free host power by Heroku
tech stack: Express/node/mongoDB
Agatang API Documentation
Scope Feature
- User Authentication
-
3 user Role
-
Admin Role
-
/login
- Approve seller product post
- Review and Approve user application to become seller
- Mute / remove user
User-
Product
- View product post
- Approve product to post in market wall
- Remove / mute product
-
Orders
- View seller / User Orders
-
User Role
-
/register
- View All Active Products
- Add To Cart
- View Items in the Cart
- Checkout products
- View Order Status
/login -
Seller Role
-
/apply-to-become-seller
- Create / Post New Product
- Edit / Posted Product
- View Product
- Remove / Muted Own Product
- View Orders from user
- Confirm Order from user
- Update Order Status of the to user order
- View Own Orders status
/login
-
Admin Role
End Points
BaseUrl: https://tablangdelio-csp2-api.herokuapp.com/api/
User Registration
Register Endpoint: /users/register
User Authentication
Login - successfull login will generate web token using ( jsonwebtoken ) Endpoint: /users/login
Products
Retrieve all products Endpoint: /products/get-all-products
Search Products
Search for products Endpoint: /products/search-query?searh=