Engineering work

URM Commission

The CRM, agent network and finance engine that runs URM ENROLL day to day.

Status
Operational
Type
SaaS · CRM & operations
Active
May 2026 to 30 Nov 2026
Area
URM ENROLL

What it is

A multi-role operations portal for international student recruitment: agent onboarding and contracts, the full student lifecycle from lead to enrolment, applications, a tiered commission engine, a finance centre, executive BI and a passwordless student portal.

Vision
A transparent partner network where agents, counsellors and the company see the same pipeline and are paid on clear rules.My reading of the project's purpose, not a quoted statement
Mission
Manage the entire lifecycle, inquiry → agent onboarding → student leads → counsellor-led conversion → university application → deposit and enrolment → revenue → commission.From the project's own documents

My role

I designed the system and wrote most of the code: the data model, the workspaces for each role, the commission engine, sign-in with passkeys and one-time codes, and the scheduled jobs.

Owner: URM ENROLL LTD.

The problem, and the answer

Recruitment agencies run on spreadsheets and chat threads: agents cannot see where their students stand, commissions are disputed, contracts are scattered and management has no reliable numbers.

One system with role-specific workspaces (admin, counsellor, agent, finance, student, institution), immutable signed contracts, a rules-based commission engine and BI built on the same records.

For: Education agents and sub-agents; Student counsellors; Finance and management; Students (self-service portal); Partner institutions.

  • Contracts are generated, sent and signed as immutable documents with a hash and audit trail.
  • Strong authentication options: JWT sessions, TOTP 2FA, WebAuthn passkeys, magic links and optional OIDC SSO.
  • Leads from the public website arrive automatically through ENROLL Core’s outbox, no retyping.

What is built, and how proven

  • Lead & student lifecycleVerifiedFive-stage agent pipeline and the full student lifecycle on one record.
  • ApplicationsVerifiedRequirements, stages, visa, deadlines, deposits and arrival tracking.
  • Agent onboarding & contractsVerifiedPublic application funnel, review and signed Sub-Agent Agreements.
  • Finance & Operations CenterVerifiedRevenue, payments, commissions, payouts, health, reports and audit.
  • Executive IntelligenceBuiltBusiness, recruitment, agent, counsellor and university BI with snapshots and exports.
  • Commission engineBuiltTiered monthly engine over a fixed service price; no commission has been paid out yet.
  • Student portalBuiltPasswordless self-service for documents, invoices, messages, appointments and applications.
  • Daily database backupVerifiedScheduled backup job writes, reads back and verifies each object in storage.
  • Stripe paymentsSwitched offCheckout, webhooks, refunds and payouts are wired but inert until keys are set.
  • AI drafting & advisor assistantSwitched offBuilt on draft branches with flags off; parked for now.

How it is built

A single Express application with server-rendered EJS views plus a React/Vite landing SPA, Prisma on Neon Postgres (Frankfurt), S3-compatible object storage, an SMTP retry queue and shared-secret cron endpoints on Vercel.

  1. Experience
    • EJS role workspaces
    • React/Vite landing SPA
    • Tailwind CSS
    • Multilingual i18n
  2. Application
    • Express 4
    • Prisma 5
    • Feature flags
    • Journey-rule engine
  3. Identity
    • JWT + refresh
    • TOTP 2FA
    • WebAuthn passkeys
    • Magic links
    • OIDC SSO (optional)
  4. Data & jobs
    • Neon Postgres
    • Object storage
    • Email queue
    • Daily crons (sync, backup, reminders, retention)

Stack: Node.js, Express, EJS, Prisma, PostgreSQL (Neon), Tailwind CSS, React, Vercel.

Integrations: ENROLL Core outbox (daily pull), SMTP, S3-compatible storage, Stripe (inert), Sentry (optional), Web Push.

Where AI comes in

An AI drafting assistant and an advisor assistant exist on branches and are switched off for now.

The hard part, the decision, the lesson

One record has to carry a student from the first enquiry to the commission an agent is paid, while six roles each see and change a different part of it.

Every role works on the same record through its own workspace. Contracts are generated as immutable documents with a hash and an audit trail. Leads arrive from the public site through an outbox, so nobody retypes them.

When the scheduled jobs ran slowly, the cause was distance, not code: the functions ran in the United States and the database in Frankfurt. I moved them together on 18 November 2026.

Where it stands

Operational Live at agents-portal.enrollurm.com and in daily internal use.

Live. Next: an off-site backup pull request is accepted for merge in December; AI drafting branches stay parked.

  • In daily use for students, documents, applications, agents and contracts since October 2026.
  • Release round of 17 Nov 2026 merged and live with 89/89 health checks green.
  • Functions moved next to the Frankfurt database on 18 Nov 2026 to cut cron latency.

Known limits: Stripe and AI features are off by decision. No commission has been paid through the engine yet.

  1. Current repository history begins
  2. Operations portal in daily use; website leads arrive through the outbox
  3. Final production release live
  4. Merge off-site backup and run a restore from it (planned)
  5. Show verified programme research as reference content (planned)

Sources and links

Compiled from: Repository README (generated from source); Master project inventory. Confidence in this record: high, checked against code, deployments or audit evidence.

  • Data flow from ENROLL Core: Outbox pulled daily with a read-only login.
  • Lineage from URM Nexus: Predecessor: requirements carried over.
  • Lineage from URM OPS: Retired; operations now run in Commission.
  • Planned from URM AI Core: Blueprint: first integration.
Ubaida DibFull-Stack Software Engineer

Hiring a full-stack engineer? Let's talk.

If you're hiring a full-stack engineer, I'd like to hear about the product and the team. Email reaches me fastest.

Open to full-stack roles in Germany. No visa sponsorship needed.