Predict
Submit match outcome predictions daily.
Fresh.win is a sports prediction platform centered around football competitions from Europe’s top leagues. Instead of gambling with money, users compete through probability-based match predictions, rankings and community challenges. The platform integrates gamification systems such as daily rewards, referral programs, streak mechanics and seasonal competitions to maximize engagement while promoting responsible play.
Fresh.win targets the large audience of football fans who want to test their match knowledge and compete socially but are put off by gambling platforms. The referral program and streak mechanics are designed to drive organic growth while daily rewards create return habits.
Sports fans who want competitive prediction without financial stakes — just reputation and bragging rights
React + Tailwind frontend, Node.js API, PostgreSQL for relational data (users, predictions, referrals, leaderboards). A points engine processes match outcomes asynchronously via a job queue. Referral codes use HMAC-signed user ID tokens with configurable expiry. The gamification engine is event-driven: match resolution emits events consumed by score updater, streak checker, badge evaluator, and leaderboard recalculator services.
Submit match outcome predictions daily.
Points awarded based on prediction accuracy.
Daily rewards compound with active streaks.
Seasonal leaderboards and friend leagues.
An event-driven points system that processes match results asynchronously, triggering streak recalculation, badge evaluation, and leaderboard refresh in one idempotent pipeline.
HMAC-signed referral tokens with configurable expiry, combined with rate limiting, email verification, and IP-based identity checks to prevent abuse.
PostgreSQL aggregation pipelines compute seasonal leaderboards and cumulative standings with a Redis-cached layer for high-traffic match windows.
The points engine listens to match result events and triggers a pipeline: score update → streak recalculation → badge evaluation → leaderboard refresh. Each step is idempotent to handle retries safely. Daily reward distribution runs as a scheduled cron job with deduplication via a processed-date key per user. Referral fraud prevention combines rate limiting, email verification, and IP-based identity checks.
Designed and tuned a complete engagement loop — points, streaks, badges, leaderboards — validated with 150+ beta users.
Built a multi-layer referral fraud system using HMAC tokens, rate limiting, and IP checks before public launch.
Chose PostgreSQL over a document store and leveraged its aggregation pipelines for complex leaderboard queries.
Decoupled the points pipeline into independent, idempotent services that make reward rule A/B testing straightforward.
Bring me your idea or half-built project. We'll scope it, design it and ship it — using the same workflow behind Fresh.win.