Skip to content
Back to Home

CapyDrive: Modernizing Theory Learning

Driving theory shouldn't be expensive or boring. CapyDrive is a Duolingo-style app for the Dutch CBR theory exams, for the car and the scooter, in Dutch and English. I designed and built it myself on Angular 21 and a serverless Firebase backend.

Updated November 2026

Angular 21 Firebase TypeScript Node.js 22 Mollie GitHub Actions Vitest Remotion

The Spark: Why build CapyDrive?

The idea for CapyDrive didn't come from a market analysis. It started when my girlfriend was looking for a modern way to learn for her Dutch driving theory exam online. When we searched for options together, I was shocked at what we found. Most platforms felt like relics from the early 2010s. They were sluggish, non-responsive, and surprisingly expensive for what they offered.

I realized there was a massive gap for a tech-first learning experience. I wanted to build something that would actually be enjoyable to use. Something fast, beautiful, and affordable. That search for a better way to learn became the blueprint for CapyDrive.

What CapyDrive is today

What started as a car theory app is now a complete learning platform. Cappy the capybara guides you through short lessons, and the app keeps track of what you still need to practise.

  • Two courses: car (licence B) and scooter (licence AM), with one switch in the app to move between them.
  • A learning path of modules, short theory lessons and quizzes, with medals per module and 3D explainer videos for the tricky situations.
  • Spaced repetition scheduled on the server. Questions you miss come back at the right moment, and how fast you answer tells the app how sure you were.
  • Mock exams in the CBR format: 10 per licence, with all seven CBR question types (including hotspot questions), unscored test questions and the 30-minute clock.
  • An exam planner that works back from your exam date, plus daily goals, streaks and leaderboards.
  • For driving schools: a learner can share their progress with an instructor. The instructor only sees it after the learner accepts.
  • Read-aloud, Dutch and English, and an installable PWA with the free lessons available offline.
  • Pricing: the first two modules are free. Premium is a one-time payment, no subscription and no expiry.

The AWS Engineer's Perspective: The Power of Serverless

In my day job as an experienced AWS Cloud Engineer, I live and breathe complex infrastructure. I love AWS for its granular control, from VPC peering to multi-region failover. However, for a solo startup venture, that level of control can sometimes be more of a distraction than a benefit.

"I chose Firebase because it allowed me to bypass the 'Infrastructure Tax' of my time. The setup was incredibly easy and allowed me to focus purely on the code."

One of the best decisions was leaning into Serverless Cloud Functions. The backend has grown to around 40 functions on Node.js 22: XP and reviews, exams, leaderboards, payments and refunds, progress sharing, and scheduled jobs such as streak reminders and the automatic clean-up of inactive accounts. They follow a pay-as-you-go model, so there are no fixed server costs. The system only scales (and costs money) when people are actually learning.

There is also no server of my own to patch. When critical PHP vulnerabilities put millions of websites at risk in October 2026, CapyDrive wasn't affected: there is no PHP anywhere in the stack.

Why Angular 21? My Comfort Framework

When it came to the frontend, Angular was my natural choice. Over the years, it has become my comfort framework. When you are managing complex exam logic and state, you can't afford "undefined is not a function." Angular 21 provides the architectural rigor and type-safety needed to build a reliable platform.

The shift to standalone components and signals has made Angular feel lighter than ever without losing its core strengths. The interactions are snappy, the state is predictable, and built-in i18n gives every page a Dutch and an English version.

Technical Architecture

graph TD
    User([Learner / PWA]) --> Hosting[Firebase Hosting]
    Instructor([Driving school]) --> Hosting
    Hosting --> Angular[Angular 21 + Signals]

    subgraph "Google Cloud / Firebase (europe-west4, Netherlands)"
        Angular --> Auth[Firebase Auth]
        Angular --> Storage[Storage: images, 3D videos]

        subgraph "~40 Cloud Functions (Node.js 22)"
            Angular --> Functions[Callable functions]
            Functions --> LR[Lessons, XP and Reviews]
            Functions --> EX[Mock Exams]
            Functions --> PM[Payments and Refunds]
            Functions --> PS[Progress Sharing]
            Jobs[Scheduled jobs] --> CL[Reminders and Clean-up]
        end

        LR --> Firestore[(Cloud Firestore)]
        EX --> Firestore
        PM --> Firestore
        PS --> Firestore
        CL --> Firestore

        PM --> Mollie[Mollie API]
    end

    classDef default fill:#FBF8F3,stroke:#A67B4F,stroke-width:1.5px,color:#3F2E20;
    classDef highlight fill:#F2E6D4,stroke:#8A633E,stroke-width:1.5px,color:#3F2E20;
    classDef database fill:#E9ECE2,stroke:#7A8665,stroke-width:1.5px,color:#3B432E;
    classDef firebase fill:#F6E7E1,stroke:#B4533A,stroke-width:1.5px,color:#6E2E1F;

    class Hosting,Angular,Functions,Jobs,LR,EX,PM,PS,CL highlight;
    class Firestore,Storage database;
    class Auth firebase;
                        

Building with AI, without the slop

Yes, AI helps me build CapyDrive. I work with Claude agents that write a lot of the code, the Flemish voice in the videos is AI, and so are parts of the marketing pipeline. I'm open about that, because how you use it matters more than whether you use it.

The foundation doesn't come from AI: the product idea, the choice of language and infrastructure, the data model, the privacy design and which features go in. Those decisions come from ten years of building software at twelve companies. AI is the efficiency amplifier; I'm the one who decides what gets built and checks that it's right.

  • Tests on every change: nearly 400 automated tests (Vitest for the Cloud Functions, Angular specs for the frontend) run in GitHub Actions.
  • DEV first: every push to main deploys to a separate development environment. Production only gets a release when I start that workflow myself.
  • Review: I read the changes before they ship, and I test the flows on a real phone.

Privacy by Design: Why Eemshaven?

Where your data lives matters. CapyDrive's database, hosting and functions run in Google's europe-west4 region, in Eemshaven in the Netherlands. That was a deliberate choice.

  • Latency: fast response times for a mostly Dutch user base.
  • Data in the EU: account and learning data stay in the Netherlands, under the GDPR.
  • Isolation: security rules make sure every learner can only read their own progress.
  • Your data, your call: you can export your data or delete your account yourself, and inactive accounts are cleaned up automatically.

It's about resilience and responsibility: the infrastructure behind the product should be as solid and as careful as the advice it gives.

The 70/30 Reality: Beyond the Code

One of the most interesting learnings from this journey was the time distribution. As engineers, we often get caught up in the perfect feature. But building a successful product is about much more than just the code.

70%Content, Marketing & SEO

Writing lessons, creating questions, optimizing for search engines, and building an audience.

30%Product Development

Building the app core, backend functions, and essential features.

I eventually spent about 70% of my time on content, marketing, and SEO, and only 30% on actual feature development. It was a fascinating pivot. It taught me that technical excellence is only the baseline. Growing the platform and serving the right content is what truly drives value.

The New Frontier: Scaling Growth

The technical foundations are solid, so most of my time now goes into growth. That means bilingual guide pages that answer what learners search for, short videos with Cappy on TikTok and Instagram (the 3D scenes are rendered in code with Remotion), and partnerships with driving schools.

It's a completely different challenge: studying search intent, analyzing conversion funnels, and building a brand. I'm learning as much from it as I did from the first line of code.