Project 2024 to present
LondonKPC church website
Next.js · TypeScript · Python · AWS
The website for the English ministry of London KPC, a Korean Christian church in London, Ontario. Visitors see events, the weekly bulletin, the Sunday bus schedule, a photo gallery and the leadership team. Admins sign in and manage all of it from the same pages.
- londonkpcem.caIn maintenance mode right now
- Reach
- Used by the English ministry of London KPC, a congregation of about 100 members
- Role
- Main contributor, front end and back end
- Status
- The live site is in maintenance mode while work is done on it, so this page describes it with a screenshot
The problem
A church site changes every week: a new bulletin, new events, new photos, a changed bus schedule. Making those changes should not need a developer, so admins do it from the site itself, behind a sign-in.
It also has to cost almost nothing to run, and it has to be safe to change. That means a separate place to try things before they reach the congregation.
What I built
- A static Next.js front end with pages for home, info (bulletin and bus schedule), events, gallery and contact, served from S3 through CloudFront.
- Admin sign-in with Amazon Cognito. Signed-in admins can add, edit and delete content on the same pages visitors see. Read endpoints are public, write endpoints need a Cognito token.
- A Python API of about 18 Lambda functions across 4 services (events, gallery, info and leaders), one function per endpoint, behind API Gateway.
- A single DynamoDB table shared by every service, and S3 for uploaded photos, bulletins and bus schedules.
- All infrastructure as plain CloudFormation templates, deployed by Bash scripts, with separate dev and prod environments.
- A maintenance mode switch built on a CloudFront function. It turns on in seconds with no rebuild, and gives admins a private link to check the real site before turning it off.
- Unit tests for the API with pytest and moto, which run without any AWS access.
Stack
- Front end
- Back end
- Infrastructure
- Testing
Results
- a month to host
- ~$1
- Lambda functions across 4 services
- ~18
- environments, dev and prod
- 2
- members in the congregation it serves
- ~100
Screens
