Overview
The digital platform for 4Life Zoe, a vocational and technical training institution in Liberia. A public website where prospective students apply, plus a role-based campus platform covering admissions, enrollment, fee plans, payments, attendance, and a live executive dashboard.
The problem
Admissions, fees, payments, and attendance at a growing vocational institution lived in separate places, leaving leadership without a single, current view of the campus.
My role
Full-stack design & development
Key features
- Online applications with admissions review & approval
- Enrollment by program and cycle, with tuition fee plans
- Payment and attendance recording
- Mobile-friendly live executive dashboard
- Argon2id + HTTP-only JWT auth with DB-backed RBAC
Architecture
- Public website & role-based staff dashboard (mobile-first)
- Next.js 16 App Router — proxies /api/v1 so the browser talks to one origin
- FastAPI service — routes → services → SQLAlchemy 2, DB-backed RBAC
- PostgreSQL 16 (schema owned by Alembic migrations)
Key decisions
Cookie sessions behind a same-origin proxy
A signed JWT in an HttpOnly, SameSite=Lax cookie, with Next.js proxying the API — no tokens in localStorage, no CORS or third-party-cookie issues, and deactivating a user takes effect immediately.
Services over repositories
Thin routes and services that own business rules and transactions directly on the SQLAlchemy session — each workflow, such as approval, reads top to bottom in one function.
One institution clock
Overdue fees, attendance days and monthly figures all use the campus timezone (Africa/Monrovia), after a real bug where a browser past midnight at UTC+2 submitted attendance for a date the API considered the future.
Results & engineering
- API tests run against a real PostgreSQL database built by Alembic, each test in a rolled-back transaction
- Playwright end-to-end tests on desktop and mobile, plus Vitest for frontend logic
- CI gates every change on lint, formatting, type-checking, tests and a production build
- Ships with synthetic demo data only — the demo seed refuses to run in production