A thin restful API mounted on Rails 5 using Grape, MongoDB and RSpec API documentation.
-
Ruby version
Ruby 2.4.1
-
System dependencies
Rails 5
MongoDB 3.6.2
Mongoid 6
bundle install
bundle exec rspec spec/acceptance/api/v1/companies_spec.rb
bundle exec rspec spec/acceptance/api/v1/companies_spec.rb -e "create a company"
rails docs:generate
This will run the test suite and generate the API documentation which can be viewed at: