Example of RESTful API in Laravel 4 for simple todo app.