"A luxury fashion AI platform, not a tech demo."
ThreadCode is a full-stack Next.js application built with the Quiet Luxury Tech aesthetic. It delivers an immersive, editorial-grade fashion experience powered by a MySQL database, Prisma ORM, and Framer Motion animations.
| Layer | Technology |
|---|---|
| Frontend | Next.js 14 (App Router) |
| Styling | Tailwind CSS + CSS Custom Properties |
| Animations | Framer Motion |
| Database | MySQL + Prisma ORM |
| Language | TypeScript |
threadcode/
├── prisma/
│ ├── schema.prisma # MySQL schema
│ └── seed.ts # 12 luxury item seeder
├── public/
│ ├── images/ # Fashion editorials & product shots
│ └── videos/
│ └── fashion-loop.mp4 # Hero cinematic loop
├── src/
│ ├── app/
│ │ ├── api/
│ │ │ ├── products/route.ts
│ │ │ └── orders/route.ts
│ │ ├── cart/page.tsx
│ │ ├── checkout/page.tsx
│ │ ├── compare/page.tsx
│ │ ├── quiz/page.tsx
│ │ ├── shop/page.tsx
│ │ ├── stylist/page.tsx
│ │ ├── globals.css
│ │ ├── layout.tsx
│ │ └── page.tsx
│ ├── components/
│ │ ├── features/
│ │ │ ├── BeforeAfterSection.tsx
│ │ │ ├── FeaturedProducts.tsx
│ │ │ ├── HeroSection.tsx
│ │ │ └── OccasionGrid.tsx
│ │ ├── layout/
│ │ │ └── Navigation.tsx
│ │ └── ui/
│ │ ├── CodeWatermark.tsx
│ │ └── ProductCard.tsx
│ ├── lib/
│ │ └── prisma.ts
│ └── types/
│ └── index.ts
├── .env.example
├── next.config.js
├── package.json
├── tailwind.config.ts
└── tsconfig.json
npm installcp .env.example .envEdit .env and add your MySQL connection string:
DATABASE_URL="mysql://USER:PASSWORD@HOST:3306/threadcode"
npm run db:generate
npm run db:pushnpm run db:seedThis seeds 12 luxury items across 3 occasions:
- Job Interview (4 pieces)
- Gym (4 pieces)
- Dinner Night (4 pieces)
npm run devVisit http://localhost:3000
Place the following in public/images/ and public/videos/:
cinematic-hero.jpg— Full-screen luxury editorial backdropfashion-loop.mp4— Cinematic lifestyle video (autoplays muted)
occasion-interview.jpgoccasion-gym.jpgoccasion-dinner.jpg
before-outfit.jpgafter-outfit.jpg
lp-wool-blazer.jpgcanali-trousers.jpgbrioni-shirt.jpgeg-oxford.jpgveilance-top.jpgrc-jogger.jpgon-sneaker.jpggarmin-watch.jpgbc-turtleneck.jpgtherow-trousers.jpgsl-chelsea.jpgtomwood-ring.jpg
See the Image Asset Catalog at the end for AI generation prompts.
| Feature | Description |
|---|---|
| Cinematic Hero | 3-layer system: static image → video → soft overlay |
| Body Shape Quiz | 3-step quiz with visual body shape selectors |
| Interactive Stylist | Canvas with zones, compatibility score, AI advice |
| Before & After Slider | Draggable vertical comparison slider |
| Shop with Filters | Filter by occasion and category |
| Tech-Spec Tooltips | Hover on products to reveal code-style tag metadata |
| Code Watermark | 5% opacity code background — invisible aesthetic |
| Glassmorphism Cards | Ultra-thin silver borders, backdrop blur |
Background: #121212 (Deep Charcoal)
Gold Accent: #c9a97a
Silver Text: #e8e8e4 (body), #b8b8b0 (muted)
Glass: rgba(255,255,255,0.03) + 1px rgba(255,255,255,0.08) border
Serif: Playfair Display
Sans: Inter (weight 300–500)
Animations: Framer Motion — slow, fluid, fabric-like