All my projects

K94

Amateur football in Vietnam, in one ecosystem of apps

Role
Founder and engineer
Years
2023 – present
Platforms
iOS, Android, Web
K94’s Matches screen: a new match button, the next match at 19:30 on a seven-a-side pitch, and upcoming games

Why it began

Every week my team, 8x F.C., ran on a chat group: who is coming, who has paid into the fund, which pitch is free. In 2023 I started an app to take that off the chat, first for our own club.

Other teams wanted the same, and the problem turned out to be bigger than one club. Players without a team look for a game, teams short of players look for them, and stadium owners fill their schedules by phone. K94 grew to meet each of them with an app of their own, sharing one account and one back end.

I run it the Lean Startup way: every feature ships as an experiment with a number it has to move, and the numbers decide what stays.

What it does

  • K94: find a game

    Browse the public matches looking for players without an account, join one with a tap, and create a team and a match in a few steps: day, time, pitch, five, seven or eleven a side.

  • K94 Teams: run your own team

    Playing, 50/50 or absent for every match, the score and the player of the match, team polls, and a team fund that works out who still owes, paid by QR bank transfer.

  • K94 Pitch: fill a stadium

    Stadium owners see each pitch’s day, accept a team’s booking request with one tap, and see how full their pitches were over the week or the month.

  • A club app and websites

    A club’s own app and website, first for 8x F.C., and the K94 website, all built from the same parts and fed by the same API.

How it is built

One NestJS API on PostgreSQL serves every app and website. The apps are Expo and React Native in one monorepo, the websites Next.js, and each app is released through Fastlane after its Detox end-to-end tests.

It is all self-hosted on one 4 GB cloud server behind Caddy, each site and the API in its own container, deployed on every push.

Every change starts as an OpenSpec proposal and is built with coding agents; the specs stay in the repository as the living record of how the product behaves.

  • NestJS
  • PostgreSQL
  • Expo
  • React Native
  • Next.js
  • Detox
  • Fastlane
  • Docker
  • Caddy

In numbers

  • 4apps, for players, teams, stadium owners and a club
  • 980+commits since February 2023
  • 140specs describing how it behaves
  • 1API and one server behind all of it
  • K94: my next match and the upcoming matches
  • K94: asking a stadium for a free slot, pitch by pitch
  • K94 Teams: the team fund, the next match with attendance, and who still owes
  • K94 Teams: the fund’s balance, income and spending this cycle
  • K94 Pitch: a stadium’s schedule for the day, pitch by pitch
  • K94 Pitch: booking requests from teams, to accept or decline