estiens / rails_7_template

rails 7 template starter to edit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Bento 🍱

A deliciously modern vanilla Rails stack for your next big idea.

ruby version rails version circle ci badge GitHub code size in bytes

Deploy

What is Bento?

Bento is a modern and vanilla Rails 7 stack which adheres to the Rails doctrine as much as possible. It's a starter template for building wonderful software products with Rails.

I created this template so you can hit the ground running and focus on your project without wasting time on boilerplate code.

What's in the box?

Bento is designed to be lean and healthy with all the essentials for a productive and enjoyable development/testing workflow.

It provides a few staples:

  • All the major Rails 7 defaults (except for Test Unit in favour of Rspec)
  • Modern JavaScript bundled with ES Build via the JS Bundling gem
  • Modern CSS powered by Dart Sass and the CSS Bundling gems
  • Hotwire Stack (Turbo & Stimulus) for SPA-like JavaScript sprinkles without the SPA complexity.
  • Jest for easy JavaScript testing. See app/javascript/controllers for an example
  • Sidekiq for background jobs
  • Rspec for unit and system tests along with simplecov for coverage support
  • Capybara with headless Selenium integration tests and a pre-configured CircleCI config ready to go. See spec/system for an example.

Getting Started

Prerequisites

Installation

Make sure you've installed the dependencies above then:

Fork the repo:

git clone git@github.com:darokel/bento.git

Set up your machine:

./bin/setup

Make sure the tests pass:

./bin/rake

Start the server:

./bin/dev

Go and build!

Deploying

This repo comes with a 1-click deployment option to Heroku:

Deploy

There are also some scripts available to help with deploying to Heroku and setting up review apps.

See DEPLOYMENT.md for more info on using the template with Heroku.

Alternatively, you're able to deploy this to any platform of your choice.

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

About

rails 7 template starter to edit

License:MIT License


Languages

Language:Ruby 76.1%Language:HTML 10.1%Language:JavaScript 8.6%Language:Shell 4.8%Language:Procfile 0.2%Language:SCSS 0.1%