Negroni

Negroni is a user-management solution for Rails. It is indended for api-only applications.

Born out of devise, it removes all the session-related code, focusing on JSON web token authentication, using knock.

As with devise, both ActiveRecord and Mongoid are supported.

NOTE:

This is the lite version, which only includes models. Please see negroni for the full version.

Rails Version

This gem was developed with Rails version 5.0.0.1, but should work with anything greater that Rails 5.

Usage

First, install the gem (see installation for details.)

To install the initializers, run:

$ bin/rails generate negroni:install

Installation

Add this line to your application's Gemfile:

gem 'negroni-lite'

And then execute:

$ bundle

Or install it yourself as:

$ gem install negroni-lite

Documentation

Documentation is avaliable by running:

$ rake docs

in the root folder of the project. Docs will be placed in doc/.

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.