AV
Back to All ProjectsENGINEERING CASE STUDY // 01
Multi-Platform School ERPLighthouse 5 → 97 • Accessibility 90

PhilBlocks

Multi-platform school ERP serving 4 user personas (School, Teachers, Students, Parents) across Web and iOS/Android with Razorpay fee workflows and Arweave archival.

97
Lighthouse PerformanceLifted 5 → 97
90
Accessibility AuditScore 90/100
Web ApplicationAndroidiOS
Role & Ownership

Full-Stack Web & Mobile Lead Engineer

Category

Multi-Platform School ERP

Target Platforms

Web Application · Android · iOS

Key Outcome

Lighthouse 5 → 97 • Accessibility 90

1 / 5
PhilBlocks // desktop

PhilBlocks Desktop — Screen 1

PhilBlocks school ERP desktop interface.

1 / 3
PhilBlocks // mobile

PhilBlocks Mobile — Screen 1

PhilBlocks mobile app interface.

01 // Problem Statement

Educational institutions struggled with disconnected spreadsheets, slow legacy web portals (initial Lighthouse Performance 5), manual fee reconciliation, and fragmented communication across school admins, teachers, students, and parents.

02 // Solution & Architecture Strategy

Owned full-stack feature development across both Web and React Native (Expo) mobile platforms using Node.js, Go, PostgreSQL, MongoDB, AWS S3, Razorpay webhooks, and permanent decentralized archival via the custom fillblocks-client SDK.

03 // Key Engineering Decisions

  • Serving 4 distinct user personas (School, Teachers, Students, Parents) via Clerk Auth, JWT sync webhooks, and granular RBAC.
  • Delivered integrated attendance, assignments, academic sessions, AWS S3 document uploads, and Razorpay fee payments with HMAC verification & idempotent locks.
  • Integrated permanent decentralized archival backups on Arweave using the custom fillblocks-client SDK alongside PostgreSQL & MongoDB.
  • Improved Core Web Vitals and lifted Lighthouse Performance from 5 to 97 and Accessibility to 90 via route-level code splitting, lazy loading, and image optimization.

04 // Architectural Trade-offs & Outcomes

Challenge

Unverified or duplicate Razorpay fee callbacks under flaky school networks.

Decision

Enforced HMAC-SHA256 webhook signature checks paired with idempotent transaction locks before issuing automated fee receipts.

Verified Outcome

Eliminated double-settled fee ledgers while keeping parent checkout responsive.

Challenge

Bloated initial JavaScript bundle and slow renders (Lighthouse score 5).

Decision

Applied route-level code splitting, lazy loading for heavy dashboard modules, semantic landmarks, and image optimization.

Verified Outcome

Achieved Lighthouse Performance 97 and Accessibility 90 in production audits.

SYSTEM ARCHITECTURE // ANIMATED WORKFLOW

Multi-Platform ERP, Payments & Arweave Archival

STAGE 1 / 5

Web and React Native clients authenticate via Clerk/JWT into hardened Node.js & Go APIs backed by PostgreSQL, MongoDB, AWS S3, Razorpay webhooks, and Arweave archival.

  1. [1]School, Teacher, Student, and Parent clients authenticate via Clerk and attach role-scoped JWT claims.
  2. [2]Hardened Node.js and Go endpoints manage attendance, assignments, sessions, and S3 uploads.
  3. [3]Razorpay fee payments verify via HMAC signatures with idempotent locks and automated receipts.
  4. [4]fillblocks-client delta-syncs MongoDB collections for permanent archival backups on Arweave.