Skip to content

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.

License

Notifications You must be signed in to change notification settings

mangotreedev/bamboosticks

Repository files navigation

MangoTree Rails Template: BambooSticks

Description 🙊

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!

Alt text

Command to run 🏃

rails new --database postgresql -m https://raw.githubusercontent.com/mangotreedev/bamboosticks/master/bambooSticks.rb YOUR_RAILS_APP_NAME

Added gems 💎

  • 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

FrontEnd Frameworks options 💅

  • 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.

Optional gems 💎

  • 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

Testing gems 💎

Testing Suite :bowtie:

We've built in a full testing suite revolving around RSpec that gets you off the ground quickly writing tests in no time

Kitchen Sink 🚢

We've generated a Kitchensink route, action and view to populate with front-end components for you and your team

Github Actions & Templates 🙋

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

Other changes ⚡

  • 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🐢

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published