All Projects → kurenn → Sabisu Rails

kurenn / Sabisu Rails

Licence: mit
Simple and powerful engine for exploring your Rails api application

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Sabisu Rails

Datoji
A tiny JSON storage service. Create, Read, Update, Delete and Search JSON data.
Stars: ✭ 222 (+72.09%)
Mutual labels:  api, json, rails
Flexirest
Flexirest - The really flexible REST API client for Ruby
Stars: ✭ 188 (+45.74%)
Mutual labels:  api, json, rails
Jsonapi parameters
Rails-way to consume JSON:API input
Stars: ✭ 50 (-61.24%)
Mutual labels:  api, json, rails
Jsonapi Utils
Build JSON API-compliant APIs on Rails with no (or less) learning curve.
Stars: ✭ 191 (+48.06%)
Mutual labels:  api, json, rails
Jsonapi Rails
Rails gem for fast jsonapi-compliant APIs.
Stars: ✭ 242 (+87.6%)
Mutual labels:  api, json, rails
Acts as api
makes creating API responses in Rails easy and fun
Stars: ✭ 506 (+292.25%)
Mutual labels:  api, json, rails
Pager Api
Easy API pagination for Rails
Stars: ✭ 86 (-33.33%)
Mutual labels:  api, json, rails
Graphql devise
GraphQL interface on top devise_token_auth
Stars: ✭ 100 (-22.48%)
Mutual labels:  api, rails
Jam Api
Parse web pages using CSS query selectors
Stars: ✭ 1,375 (+965.89%)
Mutual labels:  api, json
Invoice As A Service
💰 Simple invoicing service (REST API): from JSON to PDF
Stars: ✭ 106 (-17.83%)
Mutual labels:  api, json
Simple token authentication
Simple (but safe) token authentication for Rails apps or API with Devise.
Stars: ✭ 1,474 (+1042.64%)
Mutual labels:  api, rails
Rki Covid Api
🦠🇩🇪📈 An API for the spread of covid-19 in Germany. Data from Robert-Koch-Institut.
Stars: ✭ 98 (-24.03%)
Mutual labels:  api, json
Parse Google Docs Json
Authenticates with Google API and parse Google Docs to JSON or Markdown
Stars: ✭ 100 (-22.48%)
Mutual labels:  api, json
Flickr Sdk
Almost certainly the best Flickr API client in the world for node and the browser
Stars: ✭ 104 (-19.38%)
Mutual labels:  api, json
Behat Api Extension
API extension for Behat, used to ease testing of JSON-based APIs
Stars: ✭ 92 (-28.68%)
Mutual labels:  api, json
Json Serverless
Transform a JSON file into a serverless REST API in AWS cloud
Stars: ✭ 108 (-16.28%)
Mutual labels:  api, json
Api Client Generator
Angular REST API client generator from Swagger YAML or JSON file with camel case settigs
Stars: ✭ 92 (-28.68%)
Mutual labels:  api, json
Httpbin
HTTP Request & Response Service, written in Python + Flask.
Stars: ✭ 10,423 (+7979.84%)
Mutual labels:  api, json
Symfony Jsonapi
JSON API Transformer Bundle for Symfony 2 and Symfony 3
Stars: ✭ 114 (-11.63%)
Mutual labels:  api, json
Jsonapi.rb
Lightweight, simple and maintained JSON:API support for your next Ruby HTTP API.
Stars: ✭ 116 (-10.08%)
Mutual labels:  api, rails

Code Climate Test Coverage Issue Count

Sabisu

Sabisu is a powerful postman-like engine client to explore your Rails application api. It's still under heavy development, but it is quite impressive and beautiful. Give it a try!

It was created by Abraham Kuri from Icalia Labs.

To get started, checkout:

http://icalialabs.github.io/sabisu-rails/

Table of contents

Quick start

Install sabisu is extremely easy, just add some gems to your Gemfile

For projects using Rails 4.2 or newer, configure the following:

gem 'sabisu_rails', github: "IcaliaLabs/sabisu-rails"
gem 'compass-rails', '~> 2.0.2'
gem 'furatto'
gem 'font-awesome-rails'
gem 'simple_form'

For projects using Rails installations older than 4.2, configure the following:

gem 'sabisu_rails'
gem 'compass-rails'
gem 'furatto'
gem 'font-awesome-rails'
gem 'simple_form'

And then execute:

$ bundle install

After you install Sabisu you need to run the generator:

rails g simple_form:install
rails g sabisu_rails:install

The generator will install in initializer which describes all the Sabisu configuration options.

Some of these configuration options include you api endpoint base uri, so as your resources, so you better take a look at it.

Once you are done with the configuration, start your rails application and navigate to http://localhost:3000/sabisu_rails/explorer

If everything went good you should see a nice explorer interface with your resources.

Customization

Sabisu is highly customizable to make your life easier, here is a quick example of a real app configuration, remember you have the configuration file under config/initializers/sabisu_rails.rb.

SabisuRails.setup do |config|

  # Base uri for posting the 
   config.base_api_uri = 'api.sabisu.dev'

  # Ignored attributes for building the forms
  # config.ignored_attributes = %w{ created_at updated_at id }
  
  # HTTP methods
  # config.http_methods = %w{ GET POST PUT DELETE PATCH }
  
  # Headers to include on each request
  config.api_headers = {'Accept' => 'application/vnd.sabisu.v1'}
  
  # Resources on the api
  # You can customize the resources attributes for setting them on the form for posting to the server like so:
  #
  # config.resources = [{:products => [:title, :price]}, :users]
  #
  # In case you don't specify the attributes, Sabisu will pick them all.
  #
  config.resources = [:products, :users]

end

We invite you to look at the full file for further customization.

Bug tracker & feature request

Have a bug or a feature request? Please open a new issue. Before opening any issue, please search for existing issues.

We recommend you to read the version milestiones if you feel like want to collaborate.

Contributing

Please submit all pull requests against a separate branch. Although it does not have tests yet, be a nice guy and add some for your feature. We'll be working hard to add them too.

In case you are wondering what to attack, we have a milestone with the version to work, some fixes and refactors. Feel free to start one.

Thanks!

Community

Keep track of new feautres, development issues and community news.

Heroes

Abraham Kuri

A live example

We have deployed an example application on Heroku for you to give it a spin, visit http://sabisu.herokuapp.com/sabisu_rails/explorer and because is a demo the api only has GET endpoints.

The authentication credentials are:

username: admin
password: sekret

The file configuration for Heroku turns out to be more complex, check it out:

SabisuRails.setup do |config|

  config.base_api_uri = ENV['API_URL']
  config.resources = [:products,:users]
  config.default_resource = "users"

end

We are working to provide a full working example and wiki documentation for further implementation.

Copyright and license

Code and documentation copyright 2013-2014 Icalia Labs. Code released under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].