Skip to content

Speed up your new Rails project with a preconfigured set of tools ๐Ÿš„

License

Notifications You must be signed in to change notification settings

anthony-robin/hyperloop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Hyperloop ๐Ÿš„

Speed up your new Rails 7.1 projects with a preconfigured set of tools !

Note

This template has been built to match as best as possible default changes I make on every new Rails project I work on. It is very opinionated for some configuration so feel free to fork it and adapt it according to your needs.

Usage

If you don't have yet the project cloned, fetch it from remote URL:

$ rails new myapp -m https://raw.githubusercontent.com/anthony-robin/hyperloop/master/template.rb

If you already cloned it:

$ rails new myapp -m hyperloop/template.rb

Wait for the end of the installer, then start it with:

$ bin/dev

Tools

Gems

In production:

In development:

  • annotate to print model database structure (opinionated configuration)
  • brakeman to check for security vulnerability in code
  • bullet to track N+1 queries
  • chusaku to print routes URL above controller actions
  • letter_opener to intercept emails and print them in browser
  • ruby-lsp-rails to have better rails integration into editor
  • rubocop and its extensions for coding conventions (very opinionated)
  • ribbonit to display Ruby and Rails informations
  • ruby-lsp-rails to improve rich features in editors
  • hotwire-livereload to reload browser page on save

Frontend

Features

  • Sorcery comes with session, registration and reset password features preconfigured as well as related mailers.

  • SEO is preconfigured to work in any pages by default and title/description can be specified directly in seo.{locale}.yml file.

  • Default browser confirm modal as been replaced with a pretty and friendly one following excellent gorails tutorial

  • Database is seed with default users corresponding to each access level

  • If using postgres adapter, database can be dockerized using:

    $ docker-compose up -d
  • Project is configured for french and english locales

Roadmap

See Github project for coming roadmap.

Credits

Hyperloop is inspired by:

Thank you :)

About

Speed up your new Rails project with a preconfigured set of tools ๐Ÿš„

Topics

Resources

License

Stars

Watchers

Forks