aligovro.com
← All work

Case study · Multi-tenant platform · Site builder

Fundraising SaaS

A fundraising platform for schools and non-profits. Every organisation gets its own website from a no-code builder and accepts one-off and recurring donations through its own merchant account.

Period
Sep 2025 — present
Role
Sole engineer
Team
Solo
widget types in the site builder
30
API routes
185
automated tests
350+
data models
74

Context

What it is

Schools and non-profits raise money from parents, alumni and local sponsors. The platform gives each of them a public site, a way to take donations and reports on where the money went.

It replaced an older installation built on a multi-site CMS. I built the new platform alone and moved the existing organisations, donors and subscriptions into it.

Problem

What made it hard

  • 01

    Each organisation needs its own site, look and domain, and none of them has a developer.

  • 02

    Donations must go to the organisation's own merchant account, not through a shared one.

  • 03

    Recurring donations have to keep charging on schedule, and a failed charge must not silently end a subscription.

  • 04

    The legacy data had to move without donors noticing: the same subscriptions, the same history.

Architecture

How it is built

The request's domain decides which organisation's site is served; a middleware resolves it before anything else runs. Business logic sits in a service layer grouped by area: payments, sites, organisations, projects and reports.

Payments go through a gateway abstraction with a factory, a state updater and a recorder, so a provider's quirks stay inside one driver. A scheduled processor handles recurring charges.

Engineering

Decisions worth a closer look

No-code site builder

About 30 widget types, from a hero slider and donation form to donor leaderboards and regional ratings. Each widget type keeps its settings in its own table, and a new site starts as a copy of a preset.

Custom domains without a developer

An organisation enters its domain, and the platform binds it through the hosting provider's API and checks the DNS records itself.

Merchant onboarding by OAuth

Organisations connect their own account with the payment provider through its partner API. One-off donations, recurring charges, payouts and webhooks with source verification all run on that connection.

Per-site themes

Each site has its own theme. Styles are compiled on the server from the theme's variables, and pages are server-rendered for search engines.

Legacy migration in one command

Donations, subscriptions, donors, projects, pages and users move from the old system through staging tables. One command runs the whole migration and can be repeated safely.

Untrusted content handled as untrusted

Text and images entered by organisations are sanitised on save, sensitive settings are stored encrypted, and forms can trigger email, messenger or webhook actions without exposing credentials.

Toolbox

Stack

Backend
PHP 8 · Laravel 12 · MySQL · queues & scheduler · Laravel Reverb · payment-provider partner API · hosting API · SMS gateway
Frontend
React 19 · TypeScript · Inertia.js with SSR · Tailwind CSS · Redux Toolkit · rich-text editor · drag-and-drop
Quality & ops
Pest (350+ tests) · Vitest · GitHub Actions (lint and tests) · scripted deploy with maintenance mode and SSR build

Outcome

Where it stands

  • The platform is in production and serves the organisations moved from the legacy system.
  • The internal API is being turned into a versioned public contract, the same approach I used in Errig, so that a mobile app can use it.