How chris-mucyo/bones1.3 works
ShopHub is a buyer–seller commerce platform. The main user journey is account registration or login, then browsing and searching products or listings; sellers can manage offerings, while buyers and sellers can use chat. Authentication and catalog calls are represented where the supplied excerpts or index support them. The README also documents cart/order management and seller analytics, but the tree shows no cart or order backend module; dashboard capabilities are therefore shown only where a concrete frontend component exists. Unsampled links are omitted or dashed rather than assumed.
Main entry points: prisma.service.ts Database Access · auth.service.ts Authentication · product.service.ts Product Management · listing.service.ts Listing Management
Components 18
Identity and Accounts
- Authentication
backend/src/auth/auth.service.ts - User Accounts
backend/src/users/users.service.ts - Email Verification
backend/src/mail/mail.service.ts
Commerce Catalog
- Product Management
backend/src/product/product.service.ts - Listing Management
backend/src/listing/listing.service.ts - Cart and Orders
- Database Access
backend/src/prisma/prisma.service.ts
Messaging and Media
- Chat and Conversations
backend/src/chat/conversation.service.ts - Image Storage
backend/src/common/cloudinary/cloudinary.service.ts
Web Experience
- Sign-in and Signup
frontend/src/features/auth/services/authService.ts - Product Discovery
frontend/src/features/home/pages/SearchPage.tsx - Listing Pages
frontend/src/features/listings/pages/ListingsPage.tsx - Seller Dashboard
frontend/src/features/dashboard/components/sellerOrders.tsx - Chat Interface
frontend/src/features/chat/pages/ChatPage.tsx - Seller Analytics
frontend/src/features/dashboard/components/sellerAnalytics.tsx
Other components
- Buyer or Seller
- PostgreSQL
- Cloudinary
Connections 21
- Buyer or Seller → Sign-in and Signup: starts account
frontend/src/features/auth/services/authService.ts - Sign-in and Signup → Authentication: requests login
frontend/src/features/auth/services/authService.ts - Authentication → User Accounts: looks up users
backend/src/auth/auth.service.ts - Authentication → Email Verification: sends verification
backend/src/auth/auth.service.ts - Buyer or Seller → Product Discovery: browses catalog
- Product Discovery → Product Management: queries products
- Buyer or Seller → Listing Pages: views listings
- Listing Pages → Listing Management: requests listings
- Seller Dashboard → Cart and Orders: shows orders
- Buyer or Seller → Cart and Orders: manages cart
README.md - Buyer or Seller → Seller Analytics: reviews sales
README.md - Buyer or Seller → Chat Interface: opens chat
- Chat Interface → Chat and Conversations: uses conversations
- Listing Management → Image Storage: uploads images
backend/src/listing/listing.service.ts - Product Management → Image Storage: uploads images
backend/src/product/product.service.ts - User Accounts → Database Access: queries data
backend/src/users/users.service.ts - Listing Management → Database Access: queries data
backend/src/listing/listing.service.ts - Product Management → Database Access: queries data
backend/src/product/product.service.ts - Chat and Conversations → Database Access: queries messages
- Database Access → PostgreSQL: connects to
backend/src/prisma/prisma.service.ts - Image Storage → Cloudinary: uploads assets
backend/src/common/cloudinary/cloudinary.service.ts