2026Fullstack Software AI Engineer
Dental Care AI
AI-assisted software for dental clinics: the visit becomes a treatment plan the patient understands, signs and pays for from their phone.
Next.jsNestJSTypeScriptPrismaPostgreSQLClaude AIthree.jsStripeGoogle Cloud RunTerraform





The home page: a dictation marks findings on the 3D mouth and adds up the quote, then the AI reads a radiograph
1 / 9Problem
The plan lives in the dentist's head: the patient leaves with a number they don't understand, and the clinic can't tell how many plans get accepted.
Solution
The AI proposes and the dentist confirms: Claude turns dictation into findings and reads the radiograph, but nothing reaches the record unchecked.
- Findings are immutable events; the 2D odontogram and 3D mouth are projections.
- 3D teeth generated in code: zero models to license or download.
- Each clinic isolated twice: a filter in the API and row level security.
- The patient sees the plan on their phone, signs with PAdES and pays with Stripe.
Outcome
Live on Cloud Run, in Spanish and English, with every figure measured and its limits stated.
- Dictation: 12 of 12 cases exact, with a median of 2.1 s.
- Synthetic panoramics: 19 of 24 caries found in the hard tier, no false alarms.
- The 3D mouth: 0 bytes of models and about 2.0 s on a slow phone.
- 117 unit tests, 87 API tests and 48 browser runs on every push.
Read the full storyHide the full story2 min read
- Problem
- In a small dental clinic the plan lives in the dentist's head and on a paper chart. The patient leaves with a number and a vague idea of what it pays for, which is why plans get postponed. The clinic, in turn, has no view of how many plans get accepted or how much accepted work is still undone. Portfolio project: every patient is fictitious.
- Solution
- The rule is that the AI proposes and the dentist confirms: nothing the model says reaches the record until the dentist checks it. The dentist dictates what they see and Claude turns it into findings with structured output, streamed and checked again against the FDI catalog; anything ambiguous lands in "not understood". It also reads a panoramic radiograph and suggests caries, labeled as a suggestion and never a diagnosis. Findings are immutable events (a trigger refuses UPDATE and DELETE even for the table owner), and the 2D odontogram, the 3D mouth and the timeline are projections of those events. The 3D teeth are generated in code, with no models to license or download. Each clinic is isolated twice: an explicit filter in every query and row level security forced in PostgreSQL, with an API role that cannot bypass it. The patient gets a WhatsApp link, confirms their birth date, sees their mouth in 3D and every treatment in plain words, signs each stage (PDF sealed with PAdES) and pays it through Stripe Checkout in test mode; money is stored in integer cents. A monorepo with Next.js 16 and NestJS 12 on Cloud Run, Prisma 7, PostgreSQL on Neon and infrastructure in Terraform.
- Outcome
- Live on Cloud Run, in Spanish and English, with light and dark themes. Dictation got 12 of 12 test cases exactly right (two out of catalog and one prompt injection), with a median of 2.1 s. On synthetic panoramics the AI found 19 of 24 hidden caries in the hard tier and 24 of 24 in the easy one, with no false alarms; they are synthetic images, not real radiographs, and it says so. The 3D mouth weighs 0 bytes of models and 241 KB gzipped of three.js, loaded only where it is used, and shows in about 2.0 s on a phone with the CPU slowed 4x. The home page loads in 0.5 to 0.6 s. Every push runs 117 unit tests, 87 API tests against PostgreSQL with RLS and 48 browser runs, and every OWASP Top 10 category has its control and its test. Decisions with real alternatives are written down in 19 ADRs.