Sha256: 781a946fb95d8268db7566511ac36e86eef2327aac3522d82c18732b5376fc02

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

# SinatraResource

SinatraResource can help you build Web services in the Resource Oriented Architecture style. It is built on top of [Sinatra](http://sinatrarb.com) and [MongoMapper](http://github.com/mongomapper).

## Installation

Check to see if you are running a recent version of RubyGems:

    gem --version
    # should be 1.3.7 of better, if not:
    sudo gem update --system

I recommend a user-level installation:

    gem install sinatra_resource

(A general note: beware of `sudo gem install <project_name>` -- it gives elevated privileges. Do you trust `<project name>`? Better to be safe and not use the `sudo` -- this gives you a local install in your `~/.gem` directory.)

## Usage

For a basic example of what this looks like when integrated into a real-world Sinatra app, see the `/examples/datacatalog` directory.

## History

This code was extracted from the [National Data Catalog](http://nationaldatacatalog.com) ([source code](http://github.com/sunlightlabs/datacatalog-api)), a project of the [Sunlight Labs](http://sunlightlabs.com).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra_resource-0.4.24 README.mdown