Home / Case studies / ModernScholar Academy

ModernScholar Academy

A marketplace for academic editing, built so that money, people, documents and AI can all be trusted.

Our role
Product, engineering, cloud, operations

Users
Clients, editors, admins, support

Industry
Education marketplace

Status
Live at modernscholar.academy

53

cloud functions moved to Node 22, in waves

0

known vulnerable dependencies, down from 114

3

ways to pay editors: Stripe, Wise and M-Pesa

4

phases to move every balance onto one ledger

A very small team, editors paid across borders, and one rule: software does the routine work, and people make the calls that matter.

ModernScholar

Clients

Students, researchers

Editors

Vetted specialists

Payments and ledgerIdentityMatchingVetting Document readingAI checksVirus scanningModeration

The challenge

Students and researchers need editing they can trust. Editors need to be paid reliably, on the services they actually use. In between sits everything a marketplace has to get right: who is qualified, who gets which job, where every dollar is, and whether files and messages are safe.

Tiny team

Review, payouts and checks had to run themselves. People step in only to decide.

Global editors

Editors in Kenya and beyond, where card-based payouts don’t reach everyone.

Accessible

US accessibility rules (ADA and WCAG) from the first release.

Lean cloud

Costs close to zero when idle, scaling up when orders arrive.

Money that always balances

Payments, escrow, commissions, refunds and payouts across three providers had become hard to trace.

The problem

Money moved between clients, editors, fees and refunds in many ways, and partial refunds were especially easy to get wrong.

What we built

A double-entry ledger, rolled out in four phases with shadow writes and backfills, plus refunds that split correctly and an automatic fallback when a payout fails.

The result

Every movement of money is a balanced entry, and staff payout actions need two-factor confirmation.

Verified people, verified payouts

A payout should only reach the person who did the work, under the name they proved.

The problem

Without a trusted legal name, there was no reliable way to know a payout account belonged to the editor.

What we built

Identity checks moved fully to Stripe Identity. Every payout account must match the verified name, and editors approved under the old process re-verify before they’re paid.

The result

A name mismatch stops a payout method before any money moves.

The right editor for every order

The site promised vetted, top-rated editors. We built the system that makes that true.

The problem

Promising vetted editors meant nothing without a way to test them, rank them and keep checking their work.

What we built

A matching engine that scores editors per order and checks weekly which scores predict good outcomes. Applicants are reviewed against international standards with original in-house tests, then tiers, probation and delivery audits.

The result

Live in production since November 2026. A person makes every final approve or decline.

Reading every upload

Clients upload photos, scans, PDFs and Word files, and the price depends on what’s inside.

The problem

Scans and photos can’t be priced or edited until someone reads them, and counting pages gave different answers for the same amount of text.

What we built

After testing OCR engines head to head, a fast open-source engine reads each page and a Gemini model takes the hardest ones. Every text file is priced at 300 words per page, recounted on the server.

The result

Live since November 1, 2026. Text sits beside the original, clients can flag a page, and no order waits on a review.

Human or AI, answered carefully

Off-the-shelf detectors flag honest writers. A wrong accusation costs a client or an editor their trust.

The problem

Detectors that sound confident are still wrong sometimes, and a false flag can end a working relationship.

What we built

Our own classifier, with repeatable training, fingerprinted datasets and an adversarial test suite every release must pass. When more retraining stopped paying off, we changed the product instead of chasing a number.

The result

Every AI verdict goes to a person before anyone acts on it. The same checker now runs as a free public tool.

Safe files, clean conversations

Open uploads and chat invite malware, spam and attempts to take work off the platform.

The problem

Every upload is a possible threat, and every chat is a chance to move a deal somewhere unprotected.

What we built

A virus-scanning service that checks every upload and blocks threats in production, and chat moderation that hides contact details and abuse while tracking how fast editors reply. The scanner can sleep when idle and wakes when an order form opens.

The result

Protection on every file and message at a very low running cost.

The hardest problem

Paying editors on M‑Pesa after the rules changed

The problem

Safaricom began accepting payout requests only from approved, fixed internet addresses. Our backend runs on cloud functions whose addresses change all the time.

What we built

Rather than pay for a managed network gateway, we routed M-Pesa calls through a small locked-down relay with one reserved address, and now reject callbacks from anywhere else.

The result

Approved by Safaricom and live in November 2026, running on a free-tier server.

How it’s built

One web app, a split API, small services that sleep when idle, and providers for money and email.

People

Four roles, one sign-in

ClientsEditorsAdminsSupport

Web app

One app serves the public site and every dashboard

ReactViteTailwind CSS

API

Core and payments split apart, about 15 routers plus about 30 independent functions

Cloud FunctionsNode.jsExpress

Services that sleep when idle

Document readingAI checksVirus scanningOrder assistant

Data and providers

FirestoreCloud StorageStripeWiseM-PesaMailgun

How we ship

Staging first, always

Every change runs on a protected staging copy and is checked for each role before production.

Staged rollouts

Big moves, like the Node 22 upgrade across 53 functions, go out in waves.

Security by default

App verification rolling out across the API, database and storage, two-factor for staff money actions, and zero known vulnerable dependencies.

Accessibility checks

Automated accessibility linting and browser scans against WCAG on the web app.

Results

Nov 1

document reading went live in production, 2026

Nov 16

the full editor vetting system went live in production

Nov 23

the M-Pesa payout relay was approved by Safaricom and went live

Nobody on ModernScholar is judged by a model alone, and no payout reaches a name that hasn’t been verified.

The two rules the platform was built around

What’s next

AI features that read documents and show their evidence, like the certificate and CV panels in vetting.

Smarter checks

Retraining the AI checker on newly labelled writing, tuned for each type of text.

Delivery checks

Automatic checks that confirm an edit happened and the brief was followed.

Have a problem like these?

Tell us what’s slowing your business down and we’ll show you how we would solve it.