{"repo":"opedrosouza/rails-sass-boilerplate","free":true,"listed":false,"github":"https://github.com/opedrosouza/rails-sass-boilerplate","clone":"git clone https://github.com/opedrosouza/rails-sass-boilerplate.git","description":"Rails SasS Boilerplate","language":"Ruby","stars":10,"topics":["boilerplate","rails7","ruby","api","oauth2","tailwindcss","vitejs","boilerplates","flowbite"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Boilerplate Create a SaaS app using rails really faster than normal. The motivation Every time I had to start a new project I always had to install almost the same gems and have it configured. So the idea of this project is to have a starting point to build anything I need focusing only on the business rules and actual code instead of doing repetitive boring tasks. Implemented Features - Authentication using devise . - Authorization using pundit . - Usage of Vite to handle assets/js/css files on the frontend folder. - Usage of Flowbite/Tailwind to facilitate the implementation of beautiful components. - Specs ready to go with rspec , factory bot , shoulda matcher and simplecov . - CI using github actions. The Big difference This project has a few differences from a regular new Rails project the main ones are: 1. Usage of the vite rails gem to handle css/js/images assets instead of the sprockets 1. All js/css/images/etc files should be created inside the app/frontend folder. This way vite will process it accordingly. 2. Vite also provides helpers to facilitate the usage of our assets on the app 2. It came with pre configured authentication and authorization for users, which is being handled by devise/pundit. 3. It has specs configured and executed by rspec/factory bot. Getting started I have being using this boilerplate on a Mac with ARM proccessor and Docker to get postgres db running. So here's the steps to get it up running. - Make sure you have postgres running, I do it ru","default_branch":null,"files":null,"tree":[],"storefront":"/r/opedrosouza","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/opedrosouza/rails-sass-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}