Skip to content
All projects

Currity

License and certification expiry tracking, live with paid plans.

Year
2026
Status
Live
Links
currity.com
Currity home page: “OSHA cards expire. Most of them quietly.” above a strip of credential cards marked Valid, Expired or days remaining.
Screenshot of the live site.

The problem

A safety manager has to know, any day, that every worker on a site carries a current card. Spreadsheets track the dates you entered, but they cannot show the card nobody ever collected, and they do not warn anyone.

What I built

  • Multi-tenant SaaS where one account is one company, and tenant isolation is enforced by Postgres row-level security instead of WHERE clauses.
  • A readiness board mapping roles to required credentials, so a missing card shows up exactly like an expired one.
  • Warning emails at 90, 60 and 30 days, then 14, 7 and 1 and on the day, sent at 7 AM in each company’s own time zone.
  • A no-login link per worker: they photograph the card, an AI reader fills the fields, and nothing reaches the board until a manager approves it.
  • Project packets as a single PDF, live read-only links for general contractors, and QR hard hat stickers that show Cleared or Not cleared.
  • Daily encrypted database dumps, kept as a GitHub artifact and copied to a bucket-locked Cloudflare R2 bucket, plus a monthly restore drill in CI that fails unless every table’s row count matches the dump.
  • A Neon database branch for every preview deployment, and tests that run against a real Postgres instead of mocks.

Stack

  • Next.js 16 (App Router)
  • React 19
  • TypeScript
  • Neon Postgres with Drizzle
  • Postgres row-level security
  • Clerk
  • Stripe Checkout and billing portal
  • Resend
  • Vercel cron
  • GitHub Actions
  • Cloudflare R2
  • Vitest
  • Playwright