Home

Awesome

UtopiaData Build StatusCode ClimateDependency Status

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

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request