Awesome
UtopiaData
UtopiaData is a (easy)way to expose/open database, with few commands UtopiaData creates a RESTful API (with hypermedia) and read-only access to some resources on database
Ruby Version Support
- 2.0.0
- jruby-19mode
- rbx-19mode
Installation
$ gem install utopia_data
$ utopia_data new my_project
$ cd my_project
Usage
examples/ Examples apps
Running Server
UtopiaData is a rack project using the grape, do you can up the project with any rack server like puma, unicorn or passenger.
To up your project on development you can only run:
$ rackup
Creating Resources
It's very simple create a resource, just run:
$ utopia_data resource my_resource_name
By default, UtopiaData use the resource name as the table name on database.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request