The rails_api_base
was originally created to be used as a backend API, but it evolved to be more than just that, and now it is also intended to be used for Rails Fullstack apps.
The chosen stack is:
- Hotwire as the frontend framework, including Turbo and Stimulus.
- Tailwind as the CSS framework.
- ViewComponent as the components framework, along with Lookbook for a beautiful dev UI environment.
In order to setup the rails_api_base
for fullstack development, run
bin/rails app:template LOCATION=./bin/fullstack.rb
in the root of the project and it will automatically install and configure everything you need.