Padrino and Grape
A quick demo project showing how to integrate Padrino and Grape.
Project dependencies
- RVM
- Ruby 2.3.0p0
It seems that newer versions of RVM don't automatically installer Bundler, so install that before running bundle
to install the other gems.
gem install bundler
bundle
Start Application
To start the application run:
rackup
You should be able to access the application the App at http://localhost:9292/ and the API at http://localhost:9292/api/v1/ in your browser.
Run Tests
Use:
rake test
TODOs
- Add Grape Swagger
- Add some kind of DB etc
- Add some more documentation about findings etc
- Figure out what all the warning are when running
rake test
(supressed for now)