Boilerplate for setting up a simple API using AJAX and a PHP backend.