This recipe assumes that you either have your own web hosting, or are running a local web server. You could use the built-in PHP web server, or a web server such as Apache or Nginx. For the database, you could use a SQL database Server such as MySQL or MariaDB. However, we've tried to keep things simple using SQLite—a file-based database system. So all you actually need on your computer is PHP 7, since it has a built-in web server and can talk to SQLite databases, which is the setup on which this recipe was tested.
All the PHP scripts for this recipe, along with the SQLite database file, can be found in the 08_01 folder.