Sample api using the full Rails framework. Rake task to populate database. Tests written for the rake task and the api code