đź“…
Creation date: 10th April 2021
  • PHP
  • MySQL
  • OAuth2
  • API
  • JavaScript
  • HTML
  • CSS

Introduction

Worldchangelogs.com is a satire comedic news site that I built that attempts to depict current events as GitHub commits by deity-like figures (God, Anonymous, Illuminati).

How it works

I built a REST API with vanilla PHP that would allow me to control the “commits” created by the deities. This API was accessible through OAuth2 authentication with Discord (so that only I was able to add new commits). I ran the website on-and-off for about two months, creating new “commits” whenever there was a major news event (that were light-hearted or not too serious).

Features

  • Responsive design that is mobile friendly.
  • Fully fledged search feature that allows users to search for commits by deity or keyword.
  • OAuth2 authentication with GitHub for user profiles
  • REST API for creating new commits
  • Liking system for commits (if you are logged in with GitHub)
  • A source button to show the actual news article that the commit is based on
  • Profile page displaying your GitHub profile information and liked commits
  • Accurate colour coding of commits based on the changes specified in the commit creation API

Technologies used

The backend uses vanilla PHP and MySQL, with a strong focus on API security, particularly in learning CORS and OAuth2

The website was hosted on IONOS, with all HTML, CSS, and JavaScript written from scratch without any frameworks.

This project was more about the fun and creative idea rather than cutting-edge technology, with a focus on building a secure API and honing frontend skills.

Examples of worldchangelogs.com in Action

The commit page on worldchangelogs.com The home page on worldchangelogs.com The responsive home page on worldchangelogs.com The profile page on worldchangelogs.com The search functionality on worldchangelogs.com The commit author search functionality on worldchangelogs.com