rails-devise-graphql

A Rails 6 boilerplate to create your next Saas product. Preloaded with graphQL, devise, JWT, CanCanCan, RailsAdmin, Rubocop, Rspec, i18n and more.

i18ngraphqlboilerplateboilerplate-templaterspec-railsdevisesaasgraphql-serverrubyonrailsruby-on-railsauthentication-backendhackathon-starter

Preview

rails-devise-graphql preview

Overview

This is a Ruby on Rails 6 backend boilerplate designed for building SaaS products, featuring user authentication via JWT tokens, a GraphQL API, role-based access control with CanCanCan and an admin dashboard powered by Rails Admin. It includes PostgreSQL database support, user invitations, CORS protection, filtering and pagination capabilities and multi-language support and works with any frontend framework that implements JSON Web Tokens.

Features

graphql-apijwt-authenticationrole-based-access-controladmin-dashboarduser-invitationsemail-supporthttp-authenticationfriendly-urlsuuid-identifierscors-protectionrate-limitingcode-lintingmodel-annotations

Feature Flags

userDashboardauthenticationsubscriptionsinvoicesblogemailsecommercefileUploadsstorageauthorizationteamsOrgsi18nanalyticsloggingErrorTrackingjobsQueuenotificationsgraphqlrateLimitingimageProcessingmapsadminDashboard

Recommended Use Cases

saas-productsgraphql-backendsapi-only-applicationsmulti-user-platformshackathon-projects

Frontend

None

Backend

railsrubygraphql-rubydevisecancancanrails-adminpuma

Auth Providers

devisejwt

Deployment Targets

herokuany-ruby-server

Payment Providers

None

Quick Facts

โญ Stars
285
๐Ÿด Forks
52
๐Ÿงพ License
MIT
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2021-09-01T22:49:46.000Z

Stack

Framework
rails
Language
ruby
Database
postgresql
Auth
devise, jwt, devise-invitable
ORM
active-record
Testing
rspec, factory-bot, faker, shoulda-matchers, simplecov
Monitoring
rollbar
i18n
rails-i18n, devise-i18n, rails-admin-i18n
CI
bitbucket-pipelines

Data Layer

Databases
postgresql
ORM
active-record

UI Stack

Styling
sass

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
bitbucket-pipelines

Pricing

Classification
free
Selected
โ€”
Notes
Open source boilerplate template
Get Started with this Boilerplate