WebRole: Design & development
Livedur1al.seguridad
Web portal with OS-10 exam simulators, CCTV practice and live demos.
Problem
People studying for the Chilean OS-10 license (Law 21.659) on a computer needed timed practice exams and a place to try operational tools.
Key decisions
- Plain ES modules on Vite
- Native ES modules were enough for quizzes and forms: fast load times and fewer dependencies to maintain.
- Strict HTTP security headers
- CSP and X-Frame-Options prevent third-party script injection and unwanted iframe embedding.
- Automated checks on scoring and flows
- Vitest checks exam scoring rules and Playwright runs through the full exam flow before deploys.
What I built
- Built a quick quiz mode and a 60-question timed exam that saves progress in the browser.
- Added a practice module for CCTV operators and an interactive demo of Controlate.
- Built it with plain JavaScript, Vite and Tailwind without a heavy UI framework, plus strict CSP and X-Frame-Options headers.
- Added unit tests with Vitest, Playwright E2E checks, ESLint and Husky pre-commit hooks.
Result
Brings online practice exams, the offline Android app link and product demos together in one fast site.
What I would do differently today
Today I would migrate the simulator modules to strict TypeScript to share data contracts and validation.
- JavaScript
- Vite
- Tailwind CSS
- Vitest
- Playwright
- ESLint
- Husky
Connected to:Test OS-10Controlate