How durgaprasadt235-hash/house-of-threads works
House of Threads is currently a Next.js landing page and shared PostgreSQL/Prisma foundation for two brands. The present user journey ends at the home page; storefront, account, checkout, administration, and loyalty capabilities are explicitly planned, not implemented. The diagram separates those planned domain areas from the running app and data foundation. Their shared services directory is shown only as a documented future location; source excerpts do not establish runtime connections to it.
Main entry points: page.tsx Brand landing page · schema.prisma PostgreSQL database · layout.tsx App layout · db.ts Prisma client
Components 12
Web application
- Brand landing page
src/app/page.tsx - App layout
src/app/layout.tsx
Data foundation
- Prisma client
src/lib/db.ts - PostgreSQL database
prisma/schema.prisma - Brand seed
prisma/seed.ts
Planned commerce
- Storefront discovery
src/services - Customer accounts
src/services - Cart and checkout
src/services - Admin and inventory
src/services - Puzzle and rewards
src/services - Media and email
src/services
Other components
- Site visitor
Connections 4
- Site visitor → Brand landing page: visits
README.md - App layout → Brand landing page: renders
src/app/layout.tsx - Brand seed → PostgreSQL database: upserts brands
prisma/seed.ts - Prisma client → PostgreSQL database: connects to