A basic Rails app structure that offers a variety of opportunities for various Rails experiments.
This code can be found at: https://github.com/btihen-dev/rails_base_app
Quick Summary without explanations nor step:
# use other options as needed rails new base_app --database=postgresql -T # main is good for testing very new features, but leads to lots of update messages # rails new base_app -T --main --database=postgresql --javascript=esbuild # setup and git commit (in case you are experimenting and want to rollback) cd base_app bin/rails db:create git add .