Skip to main content

A collection of awesome Ruby Gems for Rails API development.

1
GitHub Stars
38
Curated Resources
11
Categories
21 hours ago
Last Refreshed
API FrameworksAuthenticationAuthorizationSerializersHTTP ClientsDocumentationAdmin PanelFile uploadersLoggingCoding StyleTesting

Use this list with your AI agent

Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:

"Show me admin panel resources from awesome-rails-api-gems"

Installation instructions →

What's inside

Admin Panel

  • ActiveAdmin

    ActiveAdmin is an administration framework for Ruby on Rails applications.

  • administrate

    A Rails engine that helps you put together a super-flexible admin dashboard.

  • RailsAdmin

    RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data.

  • Trestle

    A modern, responsive admin framework for Ruby on Rails.

Serializers

  • ActiveModel::Serializers

    Serializer brings convention over configuration to your JSON generation.

  • Blueprinter

    Simple, Fast, and Declarative Serialization Library for Ruby.

  • Jbuilder

    Jbuilder gives you a simple DSL for declaring JSON structures that beats massaging giant hash structures. This is particularly helpful when the generation process is fraught with conditionals and loops.

  • jsonapi-serializer

    A fast JSON:API serializer for Ruby (fork of Netflix/fast_jsonapi).

  • rabl

    General ruby templating with json, bson, xml, plist and msgpack support.

  • Roar

    Parse and render REST API documents using representers.

Documentation

  • apiary

    Work together to quickly design, prototype, document and test APIs.

  • apiblueprint

    API Documentation with powerful tooling.

  • Grape Swagger

    Autogenerate documentation on Grape API.

  • Grape Swagger UI

    Display documentation that is generated using Grape Swagger.

Authorization

  • cancancan

    The authorization Gem for Ruby on Rails.

  • Pundit

    Minimal authorization through OO design and pure Ruby classes.

  • Rolify

    Role management library with resource scoping.

File uploaders

  • Carrierwave

    Provides a simple and extremely flexible way to upload files from Ruby applications

  • Shrine

    Shrine is a toolkit for handling file attachments in Ruby applications

Authentication

  • devise-api

    This is a convenient way to add authentication to your Ruby on Rails application using the devise gem.

  • devise-jwt

    JWT token authentication with devise and rails.

  • devise_token_auth

    Token-based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.

  • Doorkeeper

    Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.

Testing

  • factory_bot

    A library for setting up Ruby objects as test data.

  • Faker

    A library for generating fake data such as names, addresses, and phone numbers.

  • rspec-rails

    Rspec-rails is a testing framework for Rails 5+.

  • Webmock

    Library for stubbing and setting expectations on HTTP requests in Ruby.

HTTP Clients

  • Faraday

    Simple, but flexible HTTP client library, with support for multiple backends.

  • Httparty

    Makes http fun again! Ain't no party like a httparty, because a httparty don't stop.

  • rest-client

    Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.

Showing a sample of 38 resources. View the full list on GitHub →