2026 · Web application
DC · Dance academy admin
Full-stack · custom-built from scratch
Overview
DC is the internal admin a dance academy uses to run its week: the class calendar, attendance, prepaid class cards and teacher payouts, all in one place.
It is custom-built for the academy. I worked with the owners to understand how they run it, refined the requirements with them, and built the system from scratch to cover what the academy actually needs, from its punch-card class passes to how teachers get paid.
I built it end to end as a TypeScript monorepo (pnpm workspaces + Turborepo). It has three parts: a Hono + Drizzle + PostgreSQL API, a Next.js 16 / React 19 admin, and a shared contract package of Zod schemas. The API validates requests with that package and the admin validates its forms with it, so a database column's type is checked by the compiler all the way up to the React component.
Every feature is spec-driven with OpenSpec: proposal, design and tasks come first, and the specs are updated when the change is archived. Each app deploys as its own Vercel project, with Neon Postgres in production. The screenshots use a seeded demo database.
- Weekly class calendar generated from a recurring schedule template (one class on one or more weekdays), where each session can get a substitute teacher or be cancelled without touching the schedule.
- Attendance per session, checked against each student's prepaid class card.
- Class cards, the digital version of the academy's punch cards. Each card records the classes bought, the amount paid and an expiry date, and every attendance uses one class.
- Teacher payouts that turn attendance into money. The system calculates what each class is worth, what each teacher is owed by commission and what the academy keeps, and closes each period with a cut that saves those amounts.
- Student and teacher management, with validation shared by the API and the forms.
- Two roles with JWT sessions. Admin sees everything; staff only sees students and classes.