Problem
Academia Prepol prepares candidates for the Spanish National Police entrance exam and needed its own online learning platform.
Technical decisions and why
- WordPress + PHP with 60 custom modules and a REST API.
- Payments with WooCommerce and Stripe, Google Drive API integration, and the platform installable as a PWA.
- Test engine with time-window marking.
- Spaced repetition (SM-2). The algorithm schedules each question for when the student is about to forget it, instead of repeating everything equally.
- Mock exams scored with the National Police’s official formula, so students practise against the same marking criteria as the real exam.
- Content protection: per-student signed and watermarked PDFs. Each PDF identifies who downloaded it, so a leak can be traced to its source.



