A swipe-to-match web app I designed, built, and launched solo in one month for an online community event.
I was commissioned to build a dating-style web app for a month-long online community event, where people could create profiles, swipe on each other, and get matched. It had to be live in one month.
I wanted swiping to feel as smooth as the real dating apps people already use. The next profile was always loaded underneath the current one, so there was never a blank moment between swipes. Behind the scenes, a match only formed when both people swiped right on each other.
Launch went better than expected, and then the site crashed.
The fix, in the chat screen
// Poll only while the chat is visible useEffect(() => { let interval = null; const start = () => { if (interval) return; interval = setInterval(loadMessages, 5000); }; const stop = () => { if (!interval) return; clearInterval(interval); interval = null; }; const onVisibility = () => { if (document.visibilityState === 'visible') { loadMessages(); // back: catch up start(); } else { stop(); // hidden: no DB calls } }; if (document.visibilityState === 'visible') start(); document.addEventListener('visibilitychange', onVisibility); // Leaving the chat: kill the timer return () => { stop(); document.removeEventListener('visibilitychange', onVisibility); }; }, [id]);
More than 3,400 people joined during its one-month run. When it outgrew the free plans, users chipped in to cover the paid tiers that kept it running.
I’d plan for scale from day one.
A simplified mini version I rebuilt for this page. The real app looked different, so watch the demo above for that.
That's everyone.
2 people liked you
Sample profile. Big fan of late-night coding and later-night snacks.
You and Alex liked each other.