How abin368/stealth works
GENIEJACKK is an Express API for a B2B trade platform connecting destination-market buyers with Chinese manufacturers. Buyers and staff enter through HTTP routes; the product spans supplier/product listing and pricing, customer catalogue and purchasing, order/payment fulfilment, and support/loyalty, alongside supplier and admin portals. The README documents these capabilities, while the excerpts show application routing, authentication, notification dispatch and background-worker orchestration. Many domain modules are listed but unsampled, so their internal call relationships are not asserted here.
Main entry points: index.js API routes · claim.service.js Claims and refunds · auth.service.js Authentication and RBAC · app.js Express API
Components 23
API entry
- Express API
src/app.js - API routes
src/routes/index.js
Trade commerce
- Supplier onboarding
src/modules/suppliers/supplier.service.js - Product listing review
src/modules/product-reviews/product-review.service.js - Catalogue publishing
src/modules/catalogue-publishing/catalogue-publishing.service.js - Pricing
src/modules/pricing/pricing.service.js - Catalogue and search
src/modules/catalogue/catalogue.service.js - Cart and packing
src/modules/cart/cart.service.js - RFQs
src/modules/rfqs/rfq.service.js - Order lifecycle
src/modules/orders/order.service.js
Buyer and supplier portals
- Supplier portal
src/modules/supplier-dashboard/supplier-dashboard.service.js - Customer portal
src/modules/customer-dashboard/customer-dashboard.service.js
Finance and support
- Payments and finance
src/modules/payments/payment.service.js - Claims and refunds
src/modules/claims/claim.service.js - Loyalty and CAQ
src/modules/loyalty/loyalty.service.js - Support cases
src/modules/support/support.service.js
Shared runtime
- Authentication and RBAC
src/modules/auth/auth.service.js - Notification dispatch
src/modules/notifications/notification.service.js - Upload storage
src/modules/uploads/storage/storage-provider.js - PostgreSQL via Prisma
src/config/prisma.js - Scheduled jobs
src/jobs/job-worker.js
Other components
- Business buyer
- Platform staff
Connections 36
- Business buyer → Express API: sends requests
src/app.js - Platform staff → Express API: sends requests
src/app.js - Express API → API routes: mounts routes
src/app.js - API routes → Authentication and RBAC: routes auth
src/routes/index.js - API routes → Supplier onboarding: routes suppliers
src/routes/index.js - API routes → Product listing review: routes review
src/routes/index.js - API routes → Catalogue publishing: routes publishing
src/routes/index.js - API routes → Pricing: routes pricing
src/routes/index.js - API routes → Catalogue and search: routes catalogue
src/routes/index.js - API routes → Cart and packing: routes cart
src/routes/index.js - API routes → RFQs: routes RFQs
src/routes/index.js - API routes → Order lifecycle: routes orders
src/routes/index.js - API routes → Supplier portal: routes portal
src/routes/index.js - API routes → Customer portal: routes portal
src/routes/index.js - API routes → Payments and finance: routes payments
src/routes/index.js - API routes → Claims and refunds: routes claims
src/routes/index.js - API routes → Loyalty and CAQ: routes loyalty
src/routes/index.js - API routes → Support cases: routes support
src/routes/index.js - Authentication and RBAC → PostgreSQL via Prisma: reads accounts
- Authentication and RBAC → Notification dispatch: sends account mail
src/modules/auth/auth.service.js - Notification dispatch → PostgreSQL via Prisma: logs delivery
src/modules/notifications/notification.service.js - Scheduled jobs → PostgreSQL via Prisma: locks jobs
src/jobs/job-worker.js - Scheduled jobs → Notification dispatch: runs reminders
- Business buyer → Catalogue and search: browses goods
README.md - Business buyer → Cart and packing: builds purchase
README.md - Business buyer → RFQs: requests quotes
README.md - Business buyer → Order lifecycle: tracks orders
README.md - Platform staff → Payments and finance: verifies payments
README.md - Platform staff → Claims and refunds: resolves claims
README.md - Business buyer → Support cases: requests help
README.md - Supplier onboarding → Product listing review: submits products
README.md - Product listing review → Catalogue publishing: approves listings
README.md - Catalogue publishing → Pricing: checks readiness
README.md - Order lifecycle → Loyalty and CAQ: accrues after delivery
README.md - Claims and refunds → Loyalty and CAQ: credits loyalty
README.md - Claims and refunds → Payments and finance: hands off refunds
README.md