First, install all project’s dependencies:
$ bundle install Then, open up a shell at the project root directory and enter the following command:
$ rackup config.ru The application should now be running at localhost:9292.
MongoDB collection
# teams { “_id” : ObjectId, “name” : “”, “key” : “”, “soldiers” : [ { “name” : “”, “profile_id” : “” }, { “name” : “”, “profile_id” : “” } … ] }, … /?format=json /team/team_name/?format=json