Sample api using the Rails::API gem. Rake task to populate database. Tests written for the rake task and the api code