Skip to content

Latest commit

 

History

History
12 lines (6 loc) · 462 Bytes

README.md

File metadata and controls

12 lines (6 loc) · 462 Bytes

rails-api-template

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"