rails_api_base

API boilerplate project for Ruby on Rails 8

rubyapiboilerplateruby-on-railshacktoberfestrails-apiapi-boilerplate

Preview

rails_api_base preview

Overview

Rails API Base is a boilerplate for building JSON REST APIs with Rails 8.0 and Ruby 3.4, including built-in authentication, an admin panel, testing tools and code quality checks. It's designed for teams building production-ready backend services with features like user management, feature flags, API documentation and Docker support.

Features

user-authenticationadmin-panelfeature-flagsapi-documentationcode-quality-toolsuser-impersonationpassword-resetpaginationbackground-jobscors-supportform-objectsdecoratorsauthorization

Feature Flags

userDashboardauthenticationsubscriptionsblogemailspaymentsecommerceauthorizationteamsOrgsloggingErrorTrackingjobsQueuesearchcmsaiapiDocsmapsformsValidationadminfeatureFlagstestingcodeQualitymonitoringbackgroundJobspaginationcorsdecoratorsformObjectsuserImpersonationpasswordReset

Recommended Use Cases

json-rest-apisaas-backendmobile-apimicroservice

Frontend

None

Backend

railsrubypumagoodjob

Auth Providers

devisedevise-token-auth

Deployment Targets

verceldockerawsgcpazureheroku

Payment Providers

None

Quick Facts

โญ Stars
602
๐Ÿด Forks
133
๐Ÿ”„ Active
Unknown

Stack

Framework
rails
Language
ruby
Database
postgresql
Auth
devise, devise-token-auth
ORM
active-record
Testing
rspec, factory-bot, shoulda-matchers, webmock
Monitoring
new-relic
CI
sonarqube

Data Layer

Databases
postgresql
ORM
active-record

UI Stack

Components
active-admin

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
sonarqube

Pricing

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