A Rails app template to jump start your project with some of Koombea's best practices and recommendations.
Install it yourself as:
$ gem install generapp
Just run:
generapp my_project
This will create a Rails app in my_project
using the latest version of Ruby and Rails.
To see the latest gems, look at Generapp's Gemfile, which will be used as the project's Gemfile.
Application gems included:
- Devise for user authentication
- Dalli for memcached client
- Honeybadger for reporting errors to honeybadger.io
- jQuery Rails for jQuery
- New Relic RPM for monitoring performance
- Postgres for access to the Postgres database
- Rack Timeout to abort requests that are taking too long
- Puma to serve HTTP requests
Development gems:
- Annotate for annotating Rails classes with schema and routes info
- Better errors for better error page for Rack apps
- Bullet for help killing N+1 queries and unused eager loading
- Bundler Audit for scanning the Gemfile for insecure dependencies based on published CVEs
- Figaro for Heroku-friendly Rails app
configuration using
ENV
- lol_dba for scanning missing indexes
- Pry Rails for interactively exploring objects
- rails-erd for generating Entity-Relationship Diagrams
- Spring for fast Rails actions via pre-loading
Testing gems:
- Factory Girl for test data
- RSpec for unit testing
- Shoulda Matchers for common RSpec matchers
- Timecop for testing time
If you plan to use Rails ERD you may need to install Graphviz (instructions)
- Fork it ( https://github.com/koombea/generapp/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
MIT License. Copyright 2016 Koombea. https://koombea.com/