RESTful backend for basic todo app