BambooSticks is the template we use at MangoTree to generate RoR applications with a basic setup suitable for most web applications. We hope this template supports you as you begin your application development, just as bamboo sticks support a fledgling plant.
It will take you through a decision tree on which front end framework you want to use, whether or not you want to add devise for authentication, pundit for authorization, and stimulus for JS; so make sure you pay attention while your app is generating!
If you would like to see something added in or want to understand more on why we made certain decisions please don't hesitate to raise an issue!
rails new --database postgresql -m https://raw.githubusercontent.com/mangotreedev/bamboosticks/master/bambooSticks.rb YOUR_RAILS_APP_NAME
- Autoprefixer Rails - a tool to parse CSS and add vendor prefixes to CSS rules
- Bullet - a tool to kill N+1 queries
- Dotenv - shim to load environment variables from .env into ENV in development
- FontAwesome::Sass - a Sass-powered version of FontAwesome for your Ruby projects
- Pry-byebyg - adds step-by-step debugging and stack navigation capabilities to pry using byebug
- Pry-rails - a small gem which causes rails console to open pry
- Rack-mini-profiler - middleware that displays speed badge for every html page
- Simple Form - rails forms made easy
- Bootstrap - The most popular HTML, CSS, and JS library in the world. Option to choose v5.0 or v4.6
- TailwindCSS - Rapidly build modern websites without ever leaving your HTML.
- Devise - a flexible authentication solution for Rails based on Warden
- Pundit - a set of helpers to build a simple, robust and scalable authorization system.
- Stimulus - a JavaScript framework built on writing efficient and clean JS using data attributes
- RSpec-Rails - the RSpec testing framework for Rails
- Database Cleaner Active Record - clean your ActiveRecord databases
- Shoulda Matchers - provides RSpec- and Minitest-compatible one-liners to test common Rails functionality
- Factory Bot for Rails - a fixtures replacement with a straightforward definition syntax
- Timecop - a gem providing "time travel" and "time freezing" capabilities
- SimpleCov - a code coverage analysis tool for Ruby
We've built in a full testing suite revolving around RSpec that gets you off the ground quickly writing tests in no time
We've generated a Kitchensink route, action and view to populate with front-end components for you and your team
Added a customized template that's automatically added when you create a pull request on github.
Added a customized template for opening issues in your repo that can be features, support, or bug requests.
Added a continuous integration setup to run with your rails applications and to check that all of the tests you've written with RSpec are passing during your pull requests
- Replaced stylesheets structure with this one
- Added four type of flashes: notice, alert, info & success
- Added a navbar to play with devise
- Set up JS to play nicely with Turbolinks
Built with love ❤️ By Nico🐺 and Sy🐢