Rails api template with user auth using devise
Usage:
rails new rails-api --api -T --skip-javascript --skip-turbolinks --skip-action-cable --skip-sprockets --skip-webpack-install --database=postgresql -m https://raw.githubusercontent.com/zametica/rails-api-template/main/rails_api_template.rb
In case you want to use devise just add the flag --devise
For scaffolding a resource you can use e.g. --scaffold="customer name:string"