How tejar1606-boop/azadimart works
AzadiMart is a multi-vendor marketplace with customer, seller, and admin web surfaces, plus shared domain packages and a PostgreSQL data model. The documented product spans discovery, seller onboarding and catalog management, quality review, commerce, fulfillment, payouts, and store themes. Sampled API handlers currently return unauthorized responses; the graph therefore avoids implying a working checkout or operational pipeline. Several domain capabilities are supported by the README or schema, but their runtime wiring is not shown in the excerpts.
Main entry points: client.ts PostgreSQL database · catalog.ts Product catalog · app Admin console · sellers.ts Seller onboarding
Components 20
Marketplace surfaces
- Customer storefront
apps/storefront/app - Seller portal
apps/seller/app - Admin console
apps/admin/app - Admin screens
apps/admin/app/_components/admin-screen.tsx
Commerce domains
- Product catalog
packages/database/src/schema/catalog.ts - Seller onboarding
packages/database/src/schema/sellers.ts - Orders and payments
packages/database/src/schema/commerce.ts - Shipping returns payouts
packages/database/src/schema/fulfillment.ts - Store content themes
packages/database/src/schema/cms.ts - Customer support
packages/database/src/schema/support.ts - Audit records
packages/database/src/schema/audit.ts - Payment operations
packages/payments/src/index.ts - Logistics operations
packages/logistics/src/index.ts
Shared platform
- Access guards
packages/auth/src/guards.ts - API contracts
packages/shared/src/api/index.ts - Shared route definitions
packages/shared/src/routes.ts
Persistent model
- PostgreSQL database
packages/database/src/client.ts
Other components
- Customer
- Seller
- Marketplace admin
Connections 17
- Customer → Customer storefront: shops
README.md - Seller → Seller portal: manages store
README.md - Marketplace admin → Admin console: operates marketplace
README.md - Admin console → Admin screens: renders
apps/admin/app/logistics/page.tsx - Customer storefront → API contracts: uses API contracts
- Seller portal → API contracts: uses API contracts
- Admin console → API contracts: uses API contracts
- Product catalog → Seller onboarding: references sellers
packages/database/src/schema/catalog.ts - Shipping returns payouts → Orders and payments: references orders and payments
packages/database/src/schema/fulfillment.ts - Shipping returns payouts → Seller onboarding: references sellers
packages/database/src/schema/fulfillment.ts - Seller onboarding → Store content themes: references media assets
packages/database/src/schema/sellers.ts - Product catalog → Store content themes: references media assets
packages/database/src/schema/catalog.ts - PostgreSQL database → Product catalog: loads schema
packages/database/src/client.ts - Product catalog → PostgreSQL database: persists catalog data
- Orders and payments → PostgreSQL database: persists commerce data
- Payment operations → PostgreSQL database: integrates with data
- Logistics operations → PostgreSQL database: integrates with data