Ecommerce Template
Modern ecommerce template built with Next.js 16, React 19, Drizzle, Better Auth, Supabase, and Stripe.
A curated menswear store with measurement-driven sizing and AI photo try-on, so what arrives is what you pictured.
CommerceTypeScript · CSSGitHub @UmarfaarukOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
TrueFit3D — Premium Menswear, Measured to You
An e-commerce storefront with measurement-driven sizing and AI photo try-on, built
with Next.js 14 (App Router), TypeScript, and Tailwind CSS.Read the full README ↗An e-commerce storefront with measurement-driven sizing and AI photo try-on, built with Next.js 14 (App Router), TypeScript, and Tailwind CSS.
This is a front-end demonstration. There is no backend or database:
localStorage,
so they are per-device and not shared between browsersAdding real persistence and payments would mean a database and a payment processor (Stripe or similar) — neither is wired up here.
Product photos are hotlinked from Unsplash, which the
Unsplash License permits for commercial use
without attribution, and whose CDN is intended to be linked directly. They are
served through next/image (see images.remotePatterns in next.config.mjs).
Two things to know before this goes anywhere near production:
imageUrl fall back to a generated silhouette.imageUrl in
lib/products.ts with your own photography before selling anything.Populating imageUrl also improves try-on: the garment photo is sent to Gemini
alongside the shopper's photo instead of a text description. If that image fetch
fails, try-on falls back to the text description rather than erroring.
The storefront itself needs no API keys and no environment variables.
Photo try-on is BYOK (bring your own key): the shopper pastes their own
Google Gemini API key into the UI. It is stored only in that browser's
localStorage, sent per-request to this app's /api/tryon route, forwarded to
Google for that one request, and never persisted server-side. Image generation
is a paid Google feature, so cost falls to whoever supplies the key.
Get a key at https://aistudio.google.com/apikey.
Never commit a Gemini key to this repository. If you want the store to supply the key instead of the shopper, use a server-only environment variable — never a
NEXT_PUBLIC_one, which would ship the key to every visitor's browser.
npm install
npm run dev
Then open http://localhost:3000.
npm run build
npm start
Deploys to Vercel with zero configuration — the framework is auto-detected and no environment variables are required.