The database is essentially just a REST API, with most of the code being on the server in form of a PHP script, so no need for the game code. It's actually very simple, you could probably replicate this in a few days with no prior knowledge.