GraphQL or REST?

This page summarizes the projects mentioned and recommended in the original post on /r/rails

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • json-api

    A specification for building JSON APIs

    Are you confusing it with the JSON-API spec? That's something completely different: https://jsonapi.org

  • JSONAPI::Resources

    A resource-focused Rails library for developing JSON:API compliant servers.

    REST with https://github.com/cerebris/jsonapi-resources & https://github.com/twg/devour

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • devour-client

    Don't just consume your JSON API, Devour it...

    REST with https://github.com/cerebris/jsonapi-resources & https://github.com/twg/devour

  • swagger-ui

    Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.

    I'd agree with most here. If it's a single client accessing the API, why add the complexity of GraphQL? If it's because you want the documentation and user experience that GraphQL provides, looking into Swagger or another Open API solution may give you what you need.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts