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.
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.
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!
This repo comes with a 1-click deployment option to Heroku:
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.
Distributed under the MIT License. See LICENSE
for more information.