Example application – ShipIt Clicker
The linked GitHub repository for this chapter has code for a prototype for an online game – called ShipIt Clicker. In this game, a fedora-clad squirrel urges you to deploy containers to production; the faster you click, the faster you accumulate Squirrel Dollars (SQ$), which you can use in the ShipIt Store to purchase upgrades that either increase how many containers you deploy per click, or allow you to deploy containers even if you are not clicking. The prototype version of this game has a simple HTML interface, with a RESTful API that talks to a Redis database to keep score. The version of ShipIt Clicker included in this chapter is a bare-bones prototype that has only a fraction of the full features of the game. However, it has many of the characteristics of an early-stage production application and is ready for its first production deployment. It features a setup using docker-compose
to run multiple containers. The game features...