A curated list of Ruby on Rails SaaS boilerplates.

Articles Suggest a boilerplate

nextgen

Nextgen is an interactive and flexible alternative to rails new that includes opt-in support for modern frontend development with ⚡️Vite.

Key Features

  • Interactive prompts for configuring your tech stack
  • Built-in support for Vite as a modern frontend build system
  • Each enhancement is applied in separate git commits for transparency
  • Flexible opt-in system for choosing exactly what you want
  • Comprehensive GitHub Actions integration
  • Choice between Minitest or RSpec testing frameworks
  • Support for both Yarn and npm package managers

Why Use Nextgen?

Nextgen builds upon Rails' "omakase" defaults while providing additional flexibility and modern tooling options. It's particularly valuable for developers who want to:

  • Use Vite instead of the traditional asset pipeline
  • Have more control over their initial application setup
  • Start with a more comprehensive testing and CI configuration
  • Integrate modern frontend development tools seamlessly
  • Maintain clear visibility into what customizations were applied
  • Choose from a curated selection of recommended gems and Node packages

Technical Requirements

  • Ruby 3.2 or higher
  • Rubygems 3.4.8+
  • Node 20.9+ and Yarn (if choosing Vite or Node-based options)
  • Additional requirements based on selected options (e.g., PostgreSQL)

Available Enhancements

  • Curated selection of recommended Ruby gems including annotaterb, bundler-audit, factorybotrails, and more
  • Node packages like eslint and stylelint
  • Comprehensive Vite integration with best practices
  • Customizable RuboCop configuration
  • Automated GitHub Actions workflow setup
  • Environment-specific configurations and tooling

Details

Features
vite flexible rubocop github actions
Purpose
Generic
Paid
No
Rails Version
8.0
License
MIT
URL
https://github.com/mattbrictson/nextgen