FITS
Fits — 1v1 your friends in a fashion battle. Every day. All season.
Fits turns your friend group into an outfit league. Every day it pairs two people. Both snap their fit with the in-app camera, everyone else votes side by side, and the results feed a Fantasy Premier League–style table. At the end of a season you get a Wrapped-style story recap you can share to your Instagram story.
The tone rule: roast the outfit, never the person. All user text goes through a word filter, and comments and chat have a Report button.
How it works
- Join in one tap. Open an invite link, scan a QR code or type a code. Pick a name and emoji. There’s no account to create.
- Daily battles. A shuffled round-robin schedule. Matches are revealed at 09:00, you post by 12:00, and results come out at 18:00. Each group can change these times.
- Live capture only. Photos come straight from the in-app camera, with no gallery uploads, so nobody can post an old pic.
- Side-by-side voting for group members, plus a public share link so anyone in the room can vote. Votes are anonymous, and battlers can’t vote in their own battle.
- Emoji reactions (🔥 😍 😂 👑 🧊) on each outfit, separate from the vote.
- Results reveal with an animated vote split and a “+3” stamp. Admins can reveal results early.
- League table: win 3, draw 1, loss 0, no-show −1, with rank movement arrows. Outfit of the Week earns +2 for the highest vote share.
- Seasons start automatically, and Wrapped story cards cover the champion, the closest rivalry, the “Ghost” award, the most-voted outfit and the comment of the season. Each card can be shared as an image.
- Group chat, and an installable PWA for iOS and Android.
How it’s built
- No server of our own. A React + TypeScript app talks straight to Supabase. Every table is locked down with Postgres row-level security, and the rules that must be trusted (joining, posting, voting, revealing results, creating seasons) live in a handful of database functions.
- No cron jobs. Battle phases, scores, the league table, Outfit of the Week and Wrapped are all worked out from timestamps when a page loads, by pure, unit-tested TypeScript (119 tests). The scheduler keeps daily times correct across the clocks change.
- Built for venue Wi-Fi. Pages refresh by polling instead of live sockets, with guards so slow or overlapping requests can’t show stale results.
- Security tested. We ran a live attack probe against our own backend, and 36 of 36 attempts were blocked (reading other groups, vote stuffing, admin takeover, overwriting photos). It also found a storage XSS issue, which we fixed.
- How we worked. We built it in JetBrains Air with AI coding agents. Workstreams ran in parallel on separate git branches, and a reviewer agent had to pass each one before it merged.
Tech
React 18, TypeScript, Vite, Tailwind CSS 4, Supabase (Postgres, row-level security, anonymous auth, Storage), Vercel, a PWA (vite-plugin-pwa), the Canvas API and Web Share API, and Vitest.
Team
Michael Wu, Marcus Wong, Jae Den Lim
Session ID
479234ec-f1c8-4143-9d50-914989b00d6e
Built with
AI tools
Prize Categories Entered
- Event prizeSubmitted
Creative Tech