/birds_sample_app

Getting started with mongodb and rails-api

Primary LanguageRuby

birds_sample_app

Getting started with mongodb and rails-api

Setup

* 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

Running test cases

* 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.