A sample API server using Rails