Simple PHP backend for JSON communication