Skip to main content

A collection of awesome libraries, tools, frameworks and software to create beautiful APIs using Ruby

42
GitHub Stars
38
Curated Resources
9
Categories
2 hours ago
Last Refreshed
Design GuidesDocumentationFrameworksTestingSerializationMiddlewareVersionsVideos/TalksArticles

Use this list with your AI agent

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

"Show me serialization resources from awesome-ruby-api"

Installation instructions →

What's inside

Serialization

  • ActiveModel::Serializer

    ActiveModel::Serializer brings convention over configuration to your JSON generation.

  • acts_as_api

    makes creating XML/JSON responses in Rails easy and fun.

  • Jbuilder

    gives you a simple DSL for declaring JSON structures that beats massaging giant hash structures.

  • RABL

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

  • ROAR

    a framework for parsing and rendering REST documents.

Documentation

Testing

  • Airborne

    RSpec driven API testing framework.

  • api_taster

    A quick and easy way to visually test your Rails application's AP.

  • lurker

    Generates API schemas, validates code against them and creates a handy web interface for testing the API.

  • minitest-reporters

    Extend Minitest through simple hooks.

  • stubb

    Specify REST API stubs using your file system.

Frameworks

  • Grape

    An opinionated micro-framework for creating REST-like APIs in Ruby.

  • GraphQL

    GraphQL is a query language for your API. graphql-ruby is ruby implementation of GraphQL.

  • Rails::API

    Rails for API only applications.

Design Guides

  • http-api-design

    HTTP API design guide extracted from work on the Heroku Platform API.

Middleware

  • Rack::Cors

    Rack::Cors provides support for Cross-Origin Resource Sharing (CORS) for Rack compatible web applications.

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