Rails ready to fire! 🚀
A rails application template (see documentation about Rails application templates) for rails-api applications.
With Postgresql:
$ rails-api new app -d postgresql -m rocket/rocket.rb
- Remove files we don't want
- Use Puma as the app server
- Copy Procfile & config/puma.rb for Puma
- Use Active Model Serializers
- Use Rack CORS & JWT with Knock
- Use byebug in development and test
- Use rails_12factor gem for Heroku in production
- Run bundle install
- Create test & development databases
- Initialize Git repository & commit
- bundle as a gem