Skip to content

Portfolio

PickVero

A free web app for running football survivor and pick'em pools with friends.

Open PickVero

What it does

A football pool among friends usually lives in a group text and a spreadsheet. One person collects the picks, checks that nobody took the same team twice, settles whether a pick came in before kickoff, looks up the scores and updates the sheet. Every week, for 18 weeks.

PickVero does that job. You create a league, choose its rules and invite people by email or with a league code. Each week every member picks from that week's NFL games before kickoff. PickVero locks the picks on time, pulls in the results, scores the picks and updates the standings.

  • Standard survivor

    Pick one team to win each week. If it loses, you are out. Last player standing wins.

  • Double elimination

    The same game, but it takes two losses to knock you out.

  • Points

    Nobody is eliminated. Your pick's margin of victory is added to your season total, and a loss subtracts the margin.

  • Pick'em

    Pick the winner of each game, and every correct pick adds one to your total.

Week 10, Monday night: Chargers 23, Ravens 20

One real game from the 2026 season, followed from the pick to the result. The score is the final from ESPN's public scoreboard, the same source PickVero reads. The outcomes are what its scoring rules return for that score.

  1. 1. The pick

    During the week a member opens week 10 and takes the Baltimore Ravens, at home against the Los Angeles Chargers on Monday night. In a survivor or points pool that uses up the Ravens: the app will not let the same member pick them again this season. The pick can be changed until the deadline, and nobody else in the league can see it yet.

  2. 2. The lock

    Kickoff is Monday, November 16, 2026 at 8:15 pm Eastern. With the default deadline the pick locks at that moment, and a change sent after it is refused. A league can instead lock picks one hour before each kickoff, or all at once when the week's first game starts.

  3. 3. The final score

    Chargers 23, Ravens 20. The Ravens lose at home by 3.

  4. 4. The results job

    On game nights a scheduled job runs every 20 minutes. It asks ESPN's public scoreboard for each week that still has unfinished games, sees this one marked final, and stores the score and the winner. Then it scores every pick on the game that has not been scored yet: did the picked team win (no), and by how much (20 minus 23, so -3). Those two facts go to the league's rule set, which decides what happens to the member.

  5. 5. The standings

    The member's status or total changes right away. Everyone's week 10 picks stay hidden from the rest of the league until the week is over, then show side by side in the standings.

What that loss does under each rule set

What the Chargers 23, Ravens 20 result does to a member who picked the Ravens and to a member who picked the Chargers, under each of the four rule sets
Rule setPicked the Ravens (lost by 3)Picked the Chargers (won by 3)
Standard survivorEliminated in week 10. No more picks this season.Still active.
Double eliminationFirst loss: 1 loss on record, still active. Second loss: eliminated in week 10.Still active. Loss count unchanged.
Points-3 on the season total.+3 on the season total.
Pick'em+0 for this game. The other games that week still count.+1 correct pick.

A member who makes no pick at all is scored as a loss with a margin of zero: out in standard survivor, one loss in double elimination, no change in points.

The pick screen and the standings

The week's pick. Each game shows the kickoff time, the spread, and each team's record and point difference. Teams already used this season are grayed out with the week they were used.
Standings in a points league: season totals, a chart of each member's total week by week, and every member's pick and result for each week.

For the friend who ends up running the pool

Groups of friends, families and coworkers who run a football pool every season. It is free to play: there are no entry fees or cash prizes, and no money moves through the site. A league manager mode lets the person running the pool unlock picks, enter one on a member's behalf and correct a pick after the fact. When the season ends, the manager can start the next one with the same members, and the finished standings go into the league's history.

The home page before you sign in: what PickVero is in one sentence, and the two ways in, Sign in and Sign up.
The sign-in screen. Members use an email and password or continue with a Google account, and a forgotten password is reset by an emailed link.

What the first season taught me

  • One scheduled job is not enough to keep scores right

    The first version relied on a single scheduled job to fetch results and score picks. In week 2 the games never loaded, because that job had not run. I added a second path: a cheap check against the app's own database that scores any finished game with unscored picks, and it runs whenever someone opens a league or submits a pick. The schedule is now the backstop for nights when nobody visits, and the app is right either way.

  • Monday night football is on Tuesday

    The host's free plan only allowed daily scheduled jobs, so I moved the schedule to an outside scheduler that runs on UTC. My first schedule, every 5 minutes all week, would have used about 9,500 run minutes a month against a free allowance of 2,000. I cut it to every 20 minutes, Thursday through Monday. That one never fired during the Monday night game: an 8:15 pm Eastern kickoff is already Tuesday in UTC, and Tuesday was not on the list. I rebuilt the schedule from the real kickoff times, converted to UTC, with an hour of padding for the daylight saving change. It now runs about 1,000 minutes a month, only in the hours when a game can be in progress.

  • Catching up several weeks has to happen in order

    A member who should have been out could still submit a pick for the next week. Their losing pick had never been scored, which can happen when a league starts after that game is already final. Fixing it turned up two more bugs in the same code: when several weeks were scored in one pass, a loss could land on the wrong week, and a second loss could overwrite the first instead of adding to it. Scoring now goes week by week for each member, carrying the running result forward. And when a league manager corrects a pick that was already scored, the app replays that member's whole season from the start instead of trying to undo one week.

  • The rule file was the small part of adding pick'em

    I built the scoring so each pool type is one small set of rules behind a shared step. Pick'em arrived eight days after the first build, and its rules really were a short file. But pick'em is one pick per game, not one per week, so the pick screen, the pick submission, the standings and the handling of missed picks all had to change too. Six days later I redid its screen: one button that submits the whole week, and a standings table of games by members. The shared step kept the scoring simple. It did not make a new pool type a one-file change.

How it was built

Next.js and TypeScript
One App Router application holds both the pages and the server routes, so there is a single thing to deploy. It runs on Vercel.
PostgreSQL with Prisma
Leagues, members, games and picks are relational data, and standings are sums over them. The database is hosted on Neon.
Auth.js
Email and password sign-in with hashed passwords, Google sign-in, and optional two-factor codes from an authenticator app.
Tailwind CSS and Recharts
Tailwind for the interface and Recharts for the season chart on the standings page.
Resend
Sends league invitations, password reset links and contact form messages by email.
Vitest and Playwright
Unit tests for the scoring rules and browser tests for the main flows.

The main technical choices

  • One pool engine, one small file per rule set

    Every pool type goes through the same evaluation step. A rule set only has to answer two questions: what a week's result does to a member, and how two members compare in the standings. Pick'em was added later as one more rule set.

  • The scores provider sits behind an interface

    Schedules and results come from ESPN's free public scoreboard. The rest of the app only talks to an internal sports-data interface, so changing providers later is a change in one module.

  • Polling instead of live sockets

    A survivor pool doesn't need second-by-second scores. A scheduled job checks for results every 20 minutes during game windows and updates standings, and another checks for members who still owe a pick before the deadline. Both are protected routes called on a schedule.

  • Two database connections

    The app uses a pooled connection at runtime, which suits serverless functions, and a direct connection only for migrations.