A RESTful JSON API with front-end AJAX combined to create a single-page app based on CRDing books