~/dev.jaspreetsingh
AI / SaaS

BookDrive — UK Driving License Prep Platform

AI-powered driving theory test prep platform for the UK market — gamified quizzes, adaptive learning, and a public leaderboard.

Next.jsTypeScriptOpenAI APIPostgreSQLTailwind CSS
↗ Live Demo

Problem

Learner drivers in the UK struggle with dry, repetitive theory test prep. Existing tools are static question banks with no personalisation or engagement mechanics.

Solution

An AI-powered platform that generates contextual quiz questions, adapts difficulty based on performance, and adds a gamified public leaderboard to drive engagement. Built for the UK market with future expansion to other countries in mind.

System Architecture

Next.js App Router for the full-stack application. AI-generated quiz content via OpenAI API with prompt templates tuned for UK Highway Code accuracy. PostgreSQL for user progress, scores, and leaderboard data. Internationalisation-ready routing structure for future country expansion.

# system diagram

User (Browser)

└─ Next.js App Router (UI + API routes)

├─ OpenAI API → quiz generation

├─ PostgreSQL → user progress + scores

└─ Leaderboard service → ranked results

DevOps & Deployment

Deployment

Vercel

CI/CD

GitHub Actions — automated build and deploy pipeline

Challenges

Ensuring AI-generated questions are accurate and aligned with the official UK Highway Code. Built a review layer with confidence scoring and flagging for human review before questions go live.

Key Learnings

Gamification mechanics (streaks, leaderboards, badges) meaningfully improve daily active usage. The leaderboard alone drove a significant increase in return visits.


Multi-Tenant ERP — Label Manufacturing

Have a project in mind? Let's talk.

Open to full-time remote roles, freelance projects, and interesting collaborations. I'll get back within 24 hours.

new-message.md