localgreenchain/lib/marketplace/index.ts
Claude b3c2af51bf
Implement marketplace foundation (Agent 9)
Add comprehensive plant trading marketplace with:
- Prisma schema with marketplace models (Listing, Offer, SellerProfile, WishlistItem)
- Service layer for listings, offers, search, and matching
- API endpoints for CRUD operations, search, and recommendations
- Marketplace pages: home, listing detail, create, my-listings, my-offers
- Reusable UI components: ListingCard, ListingGrid, OfferForm, SearchFilters, etc.

Features:
- Browse and search listings by category, price, tags
- Create and manage listings (draft, active, sold, cancelled)
- Make and manage offers on listings
- Seller and buyer views with statistics
- Featured and recommended listings
- In-memory store (ready for database migration via Agent 2)
2025-11-23 03:58:08 +00:00

15 lines
413 B
TypeScript

// Marketplace Module Index
// Re-exports all marketplace services and types
export * from './types';
export { listingService } from './listingService';
export { offerService } from './offerService';
export { searchService } from './searchService';
export { matchingService } from './matchingService';
export {
listingStore,
offerStore,
sellerProfileStore,
wishlistStore,
generateId,
} from './store';