gjin@prishtina

RiteCoach

A two-sided marketplace that connects families with private youth sports coaches. Built at 7 Studios, live in New Jersey.

status
In production
when
2025 to now
role
Full-stack engineer, 7 Studios
stack
Next.js 16, NestJS, TypeORM, PostgreSQL + PostGIS, Vue 3, Stripe, MinIO, Tailwind v4

Context

Parents look for coaches by sport and by place. Coaches need profiles that people find, plus messaging, booking and payments. A marketplace has to win both sides at once, starting with search.

Constraints

Rank in local search with very few coaches listed at launch.

One small team running three apps: the public site, the API and an internal admin.

Payments, accounts and personal data handled safely from day one.

Architecture

Three packages, each built and deployed on its own: a NestJS REST API on PostgreSQL with PostGIS, a Next.js 16 App Router site that serves the public pages and every signed-in flow, and a Vue 3 admin.

The API is one module per domain: auth and passkeys, coaches, parents, profile claims, the CMS, Stripe, mail, file storage, reviews, audit and exports.

Decisions

  1. Location pages for every sport, state, county and city, cached for a long time and refreshed by tag. When a coach or a page changes, only the pages that show it are revalidated (on-demand ISR). Search engines get fast, server-rendered pages; nobody waits for a rebuild.
  2. Four global guards, in order: proxy-aware rate limiting, JWT auth, roles, then the subscription gate. Every route is protected by default and has to opt out, not in.
  3. Every backend change ships with a test, covering the happy path, the failures, who is allowed, and the side effects: which emails are sent, or not.
  4. An admin Data Explorer instead of SQL access: a visual query builder over approved datasets, with saved views and exports, and no way to write or run raw SQL.
  5. A claim-profile flow, so the team can publish a coach's profile first and the coach takes it over later. That's how the site had pages to rank before coaches signed up.

Results

Ranked #3 on Google for soccer coaches in New Jersey with only 10 coaches listed, through server rendering and technical SEO. Load times went from about 7 seconds to under 1.5, and PageSpeed from 55 to 100, through long-lived caching with on-demand revalidation, code splitting and image optimization.

Alongside the marketplace: a custom CMS for editorial content and blogs, a conversion funnel, an analytics tool and an accessible admin dashboard.