Back to work
    Case Study

    GungunERP Website Builder

    Multi-tenant SaaS for schools

    Client work · Trixno Software

    Multi-tenant website builder where each school gets its own subdomain or custom domain and builds pages with a block-based visual editor.

    GungunERP Website Builder homepage screenshot

    The problem

    GungunERP's schools needed professional websites they could run themselves, without a developer for every page, event, admissions notice or blog post.

    My role

    Lead developer and author of most of the codebase (about 150 of 170 commits), from tenant routing and auth to the page editor, block library and admin dashboard.

    Stack

    Next.js 16PrismaPostgreSQLAWS S3PuckCaddy
    Visit live site

    Approach

    • Multi-tenancy resolved in Next.js middleware: every organization is served on its own subdomain or a verified custom domain, with per-site redirects.
    • Super-admins provision organizations; org-admins build their own site. JWT access and refresh tokens live in cookies.
    • Page editing built on Puck with a library of purpose-built blocks: admissions, courses with fee concessions, faculty, galleries, mandatory disclosure tables, blog feed and careers.
    • Editor and settings redesigned for non-technical users: on-page text editing, phone, tablet and desktop preview, one-step site setup and a "get your website ready" checklist.
    • Media on AWS S3 with a local-disk fallback in development, Prisma migrations, a Vitest suite and a Docker Compose stack.

    Outcome

    • Live at gungunerp.org: a school can set up and publish a branded site on its own subdomain or custom domain from the dashboard.
    • New page types ship as reusable blocks instead of one-off templates.

    Building something similar?

    Let's talk