Summary
Two separate websites for people seeking care and for caregivers needed to become one platform that staff can run themselves. I worked on a rebuild that brings public pages, portals, operations and content together in one codebase.
Lighthouse accessibility, mobile
Local test run, with performance at 93 to 95.
to publish a content change
Measured locally.
largest contentful paint
Over my 2.0 s target, and still open.
The problem
Separate systems meant separate logins, duplicated content and more work for operations staff. Non-technical staff also needed to change forms and pages without waiting on a developer.
The approach
One Next.js application with a headless CMS and PostgreSQL, with distinct login roles and forms that staff can edit in the admin.
Architecture flow
- Public site
- Seeker portal
- Caregiver portal
- Operations
- Next.js and Payload CMS
- PostgreSQL
Key decisions
Decision 01
Prove the stack first
Why: A proof of concept had to pass before the team committed, with an alternative stack ready if it failed.
Trade-off: Time spent before any visible progress.
Decision 02
Staff-editable forms
Why: Forms change often in care services, and staff should not need a release to change one.
Trade-off: A form builder is far more complex than fixed forms.
Decision 03
Measure the script budget above the framework baseline
Why: The first-load JavaScript came in at 203 KB, over the original 120 KB budget, because the framework alone used much of it. The budget now tracks what the team adds, and the decision is written down.
Trade-off: The page weighs more than first planned.
Where it stands
The platform is in final testing, and go-live checks are still ahead. The numbers above come from local runs, and I show the misses alongside the wins so that you can judge them fairly.
Building something similar?
Tell me what you are working on, and we can look at it together.