How wisit23/ise works
RE-LOOP is a second-hand fashion marketplace built as a Next.js frontend behind an Express gateway, with backend services for identity, catalog, orders, chat, and support. The principal journey is browsing listings, creating an order, and completing checkout; seller listings, auctions, recommendations, reviews, disputes, and customer-service workflows are additional product branches. The graph combines README-documented capabilities with sampled gateway, order, and review code. Several feature paths are present in the tree but unsampled, so their internal wiring is not inferred.
Main entry points: app.js API gateway · orderController.js Orders and checkout · productController.js Catalog and listings · checkoutSessionService.js Checkout sessions
Components 18
Marketplace client
- Marketplace UI
frontend/app - API client
frontend/lib/api.js
Commerce services
- Catalog and listings
backend/services/product-service/src/controllers/productController.js - Marketplace features
backend/services/product-service/src/features - Buyer reviews
backend/services/product-service/src/features/reviews/controllers/reviewController.js - Orders and checkout
backend/services/order-service/src/controllers/orderController.js - Checkout sessions
backend/services/order-service/src/features/checkoutSessions/checkoutSessionService.js - Order state and persistence
backend/services/order-service/src/models/orderModel.js - Shipping workflow
backend/services/order-service/src/features/shipping/shippingService.js - Product synchronization
backend/services/order-service/src/services/productSyncService.js - Order integrations
backend/services/order-service/src/services/productClient.js
Identity services
- Accounts and sessions
backend/services/auth-service/src/services/authService.js - Seller verification
backend/services/auth-service/src/features/kyc
Engagement services
- Messaging and realtime
backend/services/chat-service/src/features/conversations - Customer support
backend/services/support-service/src/features/tickets
Shared backend
- Support configuration
backend/shared/config/validate-client.js
Other components
- Marketplace user
- API gateway
backend/gateway/src/app.js
Connections 19
- Marketplace user → Marketplace UI: uses
README.md - Marketplace UI → API client: requests data
frontend/lib/api.js - API client → API gateway: sends API requests
README.md - API gateway → Accounts and sessions: proxies auth
backend/gateway/src/app.js - API gateway → Catalog and listings: proxies products
backend/gateway/src/app.js - API gateway → Orders and checkout: proxies orders
backend/gateway/src/app.js - API gateway → Messaging and realtime: proxies chat
backend/gateway/src/app.js - API gateway → Customer support: proxies support
backend/gateway/src/app.js - Catalog and listings → Marketplace features: supports
README.md - Catalog and listings → Buyer reviews: serves reviews
backend/services/product-service/src/features/reviews/controllers/reviewController.js - Orders and checkout → Checkout sessions: confirms checkout
backend/services/order-service/src/controllers/orderController.js - Orders and checkout → Order state and persistence: reads and updates
backend/services/order-service/src/controllers/orderController.js - Orders and checkout → Shipping workflow: marks shipped
backend/services/order-service/src/controllers/orderController.js - Checkout sessions → Order state and persistence: updates orders
backend/services/order-service/src/features/checkoutSessions/checkoutSessionService.js - Order state and persistence → Product synchronization: processes events
backend/services/order-service/src/models/orderModel.js - Checkout sessions → Order integrations: uses integrations
backend/services/order-service/src/features/checkoutSessions/checkoutSessionService.js - Orders and checkout → Order integrations: notifies services
backend/services/order-service/src/controllers/orderController.js - Accounts and sessions → Seller verification: supports verification
- Customer support → Support configuration: uses policy settings