A Rails 7 application template with best-practices, pre-configured gems, and optional Vite support.
mattbrictson/rails-template is a Rails application template designed to generate new Rails 7 projects with a curated set of best practices, pre-configured gems, and optional frontend tooling. It solves the problem of repetitive project setup by providing a standardized, production-ready foundation that includes linting, security checks, testing utilities, and deployment configurations.
Rails developers starting new Rails 7 projects who want a streamlined, opinionated setup with modern tooling and conventions without manually configuring common gems and workflows.
Developers choose this template for its comprehensive, battle-tested defaults that save time on initial project configuration, its adherence to Rails conventions while adding useful enhancements, and its optional integration of Vite for a improved frontend development experience.
My former app template for Rails 7. All recommendations you see here have been moved to https://github.com/mattbrictson/nextgen
Bundles essential gems like Sidekiq for jobs, RuboCop for linting, and Brakeman for security, saving setup time and enforcing best practices from the start.
Offers optional Vite integration with hot reloading, providing a powerful alternative to Webpack, as detailed in the linked blog posts on Vite-Rails plugins.
Pre-configures Postmark for email and prompts for git and production server details during generation, streamlining deployment setup.
Includes an improved bin/setup script and auto-opens the browser on server start, making local development smoother and more intuitive.
The README explicitly states it is no longer maintained and redirects to nextgen, meaning no updates or bug fixes for newer Rails versions or dependencies.
Forces specific gems and configurations (e.g., PostgreSQL-only, Postmark for email) that may not align with all projects, requiring manual overrides post-generation.
Requires specific Ruby 3.1+ and Node 16.14+ versions, and prompts for external details like git URLs during generation, which can hinder quick starts.
A Rails application template with our standard defaults, optimized for deployment on Heroku.
Easily jumpstart a new Rails application with a bunch of great features by default
Dockerize Rails 7 with ActionCable, Webpacker, Stimulus, Elasticsearch, Sidekiq
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.