Skip to content
Cyrus Pastelero
Case study

Akawntant: CPALE Board Exam Review Platform

Cyrus David Pastelero1

1 Software engineer, Singapore; cyrus@pastelero.ph

Abstract

An online reviewer for the Philippine CPA Licensure Examination, with 11,000+ practice questions across six subjects. What a worked-solution formatter, a from-scratch audit of the answer key and receipt-checked QR payments taught me about content quality.

Keywords: Next.js; Supabase; Tailwind

Cover for Akawntant: CPALE Board Exam Review Platform

The problem

Passing the CPALE (Certified Public Accountant Licensure Examination) in the Philippines is brutal. Six subjects, thousands of topics, and most review materials are either outdated PDFs or expensive classroom sessions. Students study in isolation with no way to track weak areas or measure readiness.

Existing review apps either cover too little or dump content without any intelligence. There's no feedback loop between practice and study strategy.

What I built

Akawntant, an online CPALE reviewer[1], covers all six CPALE subjects: FAR, AFAR, MAS, Auditing, Taxation, and RFBT. The question bank has 11,000+ practice questions across 45 topics, and 97% of them come with an explanation. You can try a few without signing up on the CPALE sample questions page[2].

What it does

  • Timed mock exams
  • Mastery tracked by subject and topic, with a pointer to what to study next
  • Spaced repetition and flashcards
  • A free plan with 10 practice questions a day and 1 full-length mock exam a month
  • Pro at ₱199 for one month or ₱796 for six months, paid by GCash or InstaPay QR

It is a sibling of Arkitekto, the architecture board exam reviewer, and the two share one design system. Akawntant has its own identity on top of it: an accountant's working paper, with ruled lines, caps column labels and a double rule under totals. The line figures are drawn with the Hairline library.

The journey

I thought the hard part would be building the quiz engine. The real challenge was designing a system that adapts to how students actually learn and forget.

Tech stack

LayerTechnologyWhy
FrontendNext.js[3]App Router, React 19 transitions
LanguageTypeScript[4]Type safety across the stack
DatabaseSupabase[5]PostgreSQL + Auth + Row Level Security
StylingTailwind CSS v4[6]Utility first, fast iteration
UIshadcn/ui[7]Accessible component primitives
HostingVercel[8]Edge caching, easy deploys
How the study modes, the learning engine and the backend connect.

What building this taught me

1. Study modes are not one-size-fits-all

I started with just a quiz mode. Users immediately asked for flashcards. Then review mode where they could see answers immediately. Then a mode that only surfaces questions they got wrong before.

Each mode required different UI, different state management, and different progress tracking logic. What seemed like "just showing questions differently" turned out to be fundamentally different interaction patterns.

2. Progress tracking drives motivation more than content

The activity calendar, streak counters, and mastery scores became the most used features. Students opened the app to maintain streaks even when they didn't feel like studying. The gamification wasn't gimmicky; it mapped to real study consistency.

I learned that in edtech, the meta-experience (tracking, goals, social proof) matters as much as the content itself.

3. Row Level Security changes how you think about multi-tenancy

Supabase's RLS meant every query was automatically scoped to the authenticated user. Study group permissions, bookmarks, notes, all enforced at the database level. This eliminated entire categories of authorization bugs I would have written in application code.

-- RLS policy: users only see their own progress
CREATE POLICY "Users can view own daily progress"
ON daily_progress FOR SELECT
USING (auth.uid() = user_id);
 
-- Study group members see shared content
CREATE POLICY "Group members can view sessions"
ON public.group_study_sessions FOR SELECT
USING (
  group_id IN (SELECT public.get_user_active_group_ids(auth.uid()))
);

The group policies route through a get_user_active_group_ids helper rather than an inline subquery over group_members. Writing the membership check inline means the policy on one table queries a table whose own policy queries back, and Postgres either recurses or re-evaluates it per row. A SECURITY DEFINER function breaks that cycle, and calling it inside a sub-select means Postgres evaluates it once per query, not once per row[9]. Across 292 policies, that difference stops being academic.

4. Native iOS doubles complexity

I started a companion iOS app with SwiftUI and Supabase, with encrypted offline questions. It's an early prototype and hasn't shipped. But maintaining feature parity across web and iOS meant every feature took twice as long. I learned to ship web first, then port only the high-value features to mobile.

Recent craft work

Solutions that read like working

Worked solutions were stored as one dense paragraph per question. I wrote a formatter that lays them out step by step, and tested it against all 11,206 live explanations to check that no content was lost. I wrote up how it works in Laying out 11,206 worked solutions.

An answer key audit

The 298 questions most likely to be wrong, out of 11,490 active, were solved from scratch, then checked blind by a second pass, before any answer key changed. The blind pass was run by AI agents that saw only the stem and the options.

Payments and a security fix

Pro is paid by GCash or InstaPay QR, and each receipt is checked before access is granted. A commit security review also caught an open-redirect bug, which I fixed.

The bigger realization

Building Akawntant taught me that in edtech, study experience design counts for more than content volume. The adaptive algorithm that resurfaces forgotten material, the streak that keeps students coming back, the study group that adds accountability; these "soft" features drive outcomes more than having 11,000 questions.

What I would do differently

Start with a smaller subject scope. Launching with all six CPALE subjects meant spreading content quality thin. I'd pick one or two subjects, nail the depth and quality, then expand. Depth beats breadth in educational content.

References

  1. Akawntant, an online CPALE reviewer. akawntant.review. https://akawntant.review/ ↑
  2. CPALE sample questions page. akawntant.review. https://akawntant.review/cpale-sample-questions ↑
  3. Next.js. nextjs.org. https://nextjs.org/ ↑
  4. TypeScript. typescriptlang.org. https://www.typescriptlang.org/ ↑
  5. Supabase. supabase.com. https://supabase.com/ ↑
  6. Tailwind CSS v4. tailwindcss.com. https://tailwindcss.com/ ↑
  7. shadcn/ui. ui.shadcn.com. https://ui.shadcn.com/ ↑
  8. Vercel. vercel.com. https://vercel.com/ ↑
  9. evaluates it once per query, not once per row. supabase.com. https://supabase.com/docs/guides/database/postgres/row-level-security ↑
  10. Next.js App Router. nextjs.org. https://nextjs.org/docs/app
  11. Supabase Row Level Security. supabase.com. https://supabase.com/docs/guides/auth/row-level-security
Version www.pastelero.ph/projects/akawntant

© 2026 Cyrus David Pastelero