Case study · Frontend / Web app
TypeTest
A fast, accessible typing speed test built with Next.js 16 (App Router) and TypeScript, hosted on Vercel.
- Next.js
- TypeScript
- Tailwind CSS
- Zustand
- Playwright
- axe-core

$ cat problem.md
The problem
TypeTest had to be fast and accessible, keep every user's data private on their own device, and keep working offline, with quality checked by automated tests and audits.
$ ls ./features
What I built
Interface
- Next.js 16 App Router with TypeScript.
- Tailwind CSS 4 and IBM Plex fonts.
- Result charts drawn as lightweight, hand-written SVG.
Data and offline
- App state managed with Zustand.
- Results stored in browser local storage behind a versioned storage layer.
- A service worker for offline use.
Quality
- Unit tests with Node's built-in test runner.
- Playwright end-to-end, performance and memory tests.
- axe-core accessibility scans, ESLint and Lighthouse audits.
$ git log --decisions
Decisions
- 01
Data stays on the device.
Results live in browser local storage, so nothing is sent to a server.
- 02
A versioned storage layer.
Stored data is read and written through a versioned layer, not directly.
- 03
Hand-written SVG charts.
Results are charted without a charting library.
- 04
Strict security headers on Vercel.
The hosted app is served with strict security headers.