A Rails 6 boilerplate for SaaS backends with GraphQL API, JWT authentication, role management, and an admin dashboard.
Rails Devise GraphQL is a Ruby on Rails 6 boilerplate project designed to kickstart the development of SaaS backend systems. It provides a pre-configured setup with a GraphQL API, JWT-based authentication using Devise, role-based authorization with CanCanCan, and an admin dashboard via RailsAdmin. It solves the problem of repetitive setup for common SaaS features, allowing developers to immediately focus on building their unique business logic.
Backend developers and small teams building SaaS products who want a production-ready Rails backend with modern API design (GraphQL) and robust authentication/authorization out of the box.
Developers choose this boilerplate because it bundles essential SaaS components into a single, cohesive stack, significantly reducing initial setup time. Its integration of GraphQL with JWT authentication and a ready-made admin interface offers a scalable and secure foundation that works seamlessly with various frontend frameworks.
A Rails 6 boilerplate to create your next Saas product. Preloaded with graphQL, devise, JWT, CanCanCan, RailsAdmin, Rubocop, Rspec, i18n and more.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Includes a fully implemented GraphQL endpoint with built-in support for filters, sorting, and pagination via the BaseResolver class, as detailed in the README's 'How to' section.
Comes with JWT authentication via graphql-auth, rate limiting with Rack Attack, and CORS configuration, adhering to a 'secure by default' philosophy.
Offers a ready-to-use RailsAdmin interface for data management, accessible only to super admins, with customizable branding via SASS.
Bundles RSpec with FactoryBot and SimpleCov for testing, Rubocop for linting, and UUIDs for database records, reducing initial setup time.
The README's 'What's missing?' section lists incomplete features like invite mutations, tests for filters, and security audits with brakeman and bundler-audit.
Despite being a SaaS boilerplate, it lacks multi-tenancy support; users must manually integrate gems like apartment, adding complexity.
Relies on numerous gems and is pinned to Rails 6 and Ruby 2.6.x, which may lag behind current versions and increase maintenance burdens.