About DigiSolFarm
DigiSolFarm is an online agricultural marketplace connecting farmers, buyers and sellers of fresh produce,
livestock, grains, fisheries, and agricultural supplies. Users can browse categories, place orders, and
sellers
can list and manage their farm goods. :contentReference[oaicite:1]{index=1}
Core API Resources
Fetch Product Listings
GET /api/products
Returns all available marketplace products with categories, pricing, stock levels, and brand data.
:contentReference[oaicite:2]{index=2}
Get Product Details
GET /api/products/{id}
Returns details for a specific product by ID. Expected to include pricing, stock, category, gender,
description, images.
Fetch Product Categories
GET /api/categories
Returns available main categories such as Fresh Products, Tubers & Grains, Livestock & Poultry, Fisheries &
Aquaculture, etc. :contentReference[oaicite:3]{index=3}
List Sellers
GET /api/sellers
Returns seller profiles including name, contact, location, and listed products.
:contentReference[oaicite:4]{index=4}
Community Posts
GET /api/community
Returns farming tips, crop guides and other informational posts accessible to users.
:contentReference[oaicite:5]{index=5}
User Authentication
POST /api/auth/login
POST /api/auth/register
Handles user account login and registration (buyers and sellers).
Cart & Orders
GET /api/cart
POST /api/orders
Manage shopping cart and order placement.