Getting started with mongodb and rails-api
* Rails 4 and ruby-2.1.8 [ x86_64 ]
* Install rails-api (gem install rails-api)
* Install mongodb (port number: 27017)
* start server rails s
* configure mongo-db settings in config/mongoid.yml
* model test cases are in test/models
* controller test cases are in test/controllers
* Running test cases `rake test test/models/* test/controllers/*` from the console.