Boilerplate Rails 5.2 multitenant SaaS application with webpack and Docker integration. Billing is scoped to accounts.
WARNING Limestone Accounts is no longering being maintained due to it's reliance on the Apartment Gem. If you would like a multitenant solution in Limestone, you can vote for ActsAsTenant here: https://www.strawpoll.me/42684734/
Limestone Accounts is a boilerplate SaaS app built with Rails 5.2 and has an opinionated integration with NPM using Webpacker and Stimulus.
Limestone Accounts is multitenant, meaning each account has one subscription and potentially many users through invitations. If you want each user to have their own subscription, try Limestone.
The gemset has been chosen to be modern, performant, and take care of a number of business concerns common to SaaS.
deliver_later
. Devise mailing also configured for Sidekiq dispatch.docker-compose run web rspec
rails db:setup
to create the db and seed.docker-compose run webpack yarn install --pure-lockfile
to install all node modules.docker-compose up --build
to create and run the various images, volumes, containers and a networkdocker-compose exec web rails db:setup
to create DB, load schema and seed. Seeding will also create your plan(s) in Stripe.public_registration
and enable it. Now anyone can register :clap:role
enum on the accounts_user model, and the default role in schema.rb.A wiki will be written about this.