A practice API built with rails