A Rails 8.1.0 application template with modern tooling and best practices.
- User Authentication - Secure session-based authentication system
- Modern Rails Stack - Built with Rails 8.1.0, SQLite3, and modern asset pipeline
- Component-Based UI - ViewComponent architecture for maintainable UI components
- Responsive Design - Tailwind CSS with dark mode support
- Comprehensive Testing - 99%+ test coverage with SimpleCov
- Rails 8.1.0 with modern asset pipeline (Propshaft)
- SQLite3 for all environments including production
- ImportMap for JavaScript (no Node.js bundling required)
- Hotwire (Turbo + Stimulus) for interactive features
- Tailwind CSS via CDN for styling
- ViewComponent for reusable UI components
- Solid Libraries for database-backed cache, queue, and cable
- Ruby 3.4.7
- Rails 8.1.0+
- SQLite3
- Click "Use this template" button on GitHub to create a new repository
- Clone your new repository
- Install dependencies:
bin/setup- Rename the application (this also regenerates credentials for security):
bin/rename-app YourAppName- Set up your credentials:
bin/rails credentials:edit- Customize for your project:
- Update
CLAUDE.mdwith your project details - Modify this README.md
- Start the development server:
bin/rails server- Visit
http://localhost:3000
Run the full CI pipeline (formatting, linting, security scan, tests):
bin/ciAuto-fix formatting issues:
bin/ci --fixWatch CI status in real-time:
bin/watch-ciRun tests:
bin/rails testGenerate coverage report:
bin/coverage- EditorConfig: UTF-8, LF line endings, 2-space indentation
- RuboCop: Rails Omakase configuration
- SimpleCov: 95% minimum coverage requirement
- Conventional Commits: Structured commit messages
Multi-database configuration with separate SQLite databases:
- Primary database for application data
- Cache database for Solid Cache
- Queue database for Solid Queue
- Cable database for Solid Cable
The application uses ViewComponent for UI components:
Auth::*components for authentication flowsAvatarComponentfor user avatarsAlertComponentfor flash messages and errorsUserPageComponentfor profile page layouts
- Follow the existing code style and conventions
- Ensure tests pass:
bin/ci - Maintain test coverage above 95%
- Use conventional commit messages
This project is licensed under the MIT License.