ENROLL Core
The system of record behind the ENROLL website and student app.
- Status
- Operational
- Type
- Backend & data platform
- Active
- May 2026 to 30 Nov 2026
- Area
- URM ENROLL
What it is
A Supabase/Postgres backend holding the programme catalogue, form submissions, student accounts, course enquiries and an integration outbox that hands every lead to the operations system exactly once.
- Vision
- One trustworthy source of truth for every programme, enquiry and student record across URM ENROLL’s products.My reading of the project's purpose, not a quoted statement
- Mission
- Serve the catalogue, store every submission and feed the operations portal through a reliable outbox.From the project's own documents
My role
Technical co-founder: the data model, the integration with the operations portal and the backup process.
Owner: URM ENROLL LTD.
The problem, and the answer
Leads that arrive through several channels get lost, duplicated or retyped when there is no shared, auditable record between the public site and the back office.
A migration-managed Postgres schema with row-level security, database functions for each flow, and an integration outbox that the operations portal pulls daily with a read-only login.
For: URM ENROLL engineering; Operations staff (indirectly); Students using the mobile app (when launched).
- Repository migrations and the production schema matched exactly (19/19) in the October audit.
- pgTAP database tests: 330/330 passing.
- Nightly encrypted backups (pg_dump + GPG) with a documented restore drill.
What is built, and how proven
- Catalogue storeVerifiedProgrammes and universities served to the website and app.
- Form submission storeVerifiedEvery website enquiry persisted with delivery status.
- Integration outboxVerifiedExactly-once hand-off of leads to the operations portal.
- Student accounts & course enquiriesSwitched offBuilt end to end (app, functions, sync) but never run in production; hosted auth is not configured yet.
- Nightly encrypted backupVerifiedScheduled GitHub Actions workflow with encryption; restore drilled locally.
How it is built
Supabase Postgres in London with SQL migrations, RLS policies and functions; consumed by the website (publishable key and pooled connection) and by the operations portal (dedicated read-only role).
- Schema
- SQL migrations
- Row-level security
- Database functions
- Integration
- integration.outbox
- commission_sync read-only role
- Daily pull by operations
- Resilience
- Nightly encrypted dump
- Restore drill
- pgTAP tests
Stack: PostgreSQL, Supabase, SQL, pgTAP, GitHub Actions, GPG.
Integrations: URM ENROLL Website, ENROLL Student App, Operations / Commission portal.
The hard part, the decision, the lesson
Hand every lead to the operations portal exactly once, without coupling two systems.
An outbox table that the portal pulls with a read-only login, instead of a shared database or webhooks.
A backup only counts after a restore drill.
Where it stands
Operational Catalogue, forms and outbox in production use; student-account features built but not yet switched on.
Stable. Daily backups run; the remaining owner step is decrypting a recent backup on a separate device.
- Schema parity 19/19 with repository migrations (Oct 2026).
- pgTAP 330/330.
- Encrypted backup verified with a rotated database credential on 30 Nov 2026.
Known limits: Student authentication is not yet configured in production, so app accounts are not live.
- Integration outbox carries website leads to operations
- Backup credential rotated and encrypted dump verified
- Switch on student accounts with the renewed mobile app (planned)
Sources and links
There is no public link: this project is private, local or not deployed.
Compiled from: Database reference; Product relationship map. Confidence in this record: high, checked against code, deployments or audit evidence.
- Data flow from URM ENROLL Website: Reads the catalogue and stores form submissions.
- Data flow from ENROLL Student App: Sign-in and course enquiries.
- Data flow to URM Commission: Outbox pulled daily with a read-only login.
