Links:
-
Random - Re-visit this URL to see a different church each time.
Summary:
I built a system to pull church data and generate a simple landing page for churches that didn't already have a website. I utilized the Adventist Living Pattern System (ALPS) design system for the design of the generated sites.
One challenge I faced on this project was that the API we were using to pull the data was severely resource constrained, which meant I had to sync new data on a cron so I didn't have to rely on the API at request time. In addition, when a new site was registered in our database, we notified the API provider so that they could update their records with our URL for that church.

Technologies Used:
-
PHP
-
Less
-
Twig
-
Sqlite
-
Test-driven development
Goals:
-
Dynamically provide simple landing pages for Adventist churches that didn't otherwise have a web presence.
-
Minimize our demand on the API we were using to source church data.
Features:
- Periodically sync API data with an Sqlite database
- Render landing page for each church on-demand
- Dynamically generate Google Maps embeds
- Automatically redirect to the church's primary website if one exists
- Randomly assign each church one of several distinct color schemes
- Notify API provider with newly-created church websites