Rack::Scaffold

Automatically generate RESTful CRUD services

This project generalizes the webservice auto-generation functionality of Rack::CoreData with a plugin architecture that can adapt to any data model format. It is currently being actively developed for inclusion in the next release of Helios

Supported Data Models

Usage

Gemfile

source :rubygems

gem 'rack-scaffold', require: 'rack/scaffold'
gem 'sequel'
gem 'core_data'

gem 'unicorn'
gem 'pg'

config.ru

require 'sequel'
require 'core_data'
require 'rack/scaffold'

DB = Sequel.connect(ENV['DATABASE_URL'])

run Rack::Scaffold model: './Example.xcdatamodeld', only: [:create, :read]

Examples

An example web API using a Core Data model can be found the /example directory.

Contact

Mattt Thompson

License

Rack::Scaffold is available under the MIT license. See the LICENSE file for more info.