Hey, Everyone!
I'd like to share with you my ruby on rails templates, which i've created to speedup MVP development for my company clients. I've tried to create a template with most useful features and best app development practices.

What's inside

  • ruby on rails application template
  • bootstrap or tailwind.css frontend frameworks with scaffold templates
  • .gitignore file
  • VSCode configuration files
  • postgresql database connector
  • purge.css to cleanup stylesheets
  • timezone detection with jstz
  • typescript for frontend
  • Procfile to run app, webpacker and sidekiq
  • Sidekiq for background jobs
  • strong_migrations
  • authentication with devise and devise-pwned_password + google auth
  • pretender
  • authorization with pundit
  • role management with rolify
  • ability to ban user account
  • pre-configured generators
  • SEO tools - meta-tags, sitemap_generator and friendly_id
  • I18n tools - rails-i18n and i18n-tasks
  • rspec and cucumber for testing
  • Mailgun integration for email notifications
  • rubocop for code style validations
  • better_html and erb-lint for erb linting
  • bullet to prevent N+1 problems
  • brakeman and bundler-audit as security scanners
  • fasterer for performance optimization
  • pry-rails and amazing_print for better rails console
  • active_interaction to make controllers thin
  • view_component as a replacement for partials
  • flipper with Flipper UI to enable flag management
  • ahoy, ahoy_email and blazer for business intelligence
  • noticed for notifications
  • annotate for annotations
  • lol_dba for indexing
  • lockbox and blind_index for email fields encryption
  • rack-attack to prevent bruteforce and DDoS attacks
  • capistrano with plugins for deployment
  • authrail to track login attempts
  • announcements (new/fix/update) for all users
  • flash helper
  • referral system
  • landing page
  • custom error pages
  • profiles controller
  • admin and customer dashboards
  • users administration with search

What (possible) will be added later

  • add API-only template
  • update with rails production best practices, security best practices and rails-security-checklist
  • add tools from evil martians tollbox
  • test and add dawnscanner
  • add rails_best_practices
  • add secure_headers
  • add ssrf_filter
  • add devise-security
  • add hotwire
  • add mailkick
  • add discard
  • add invisible_captcha
  • add lograge
  • add hypershield
  • add hairtrigger
  • add active_record_union
  • add scenic
  • add identity_cache
  • move to rails-settings-cached
  • move to turnip from cucumber
  • add searchjoy
  • add database_consistency
  • add database_validations
  • add traceroute
  • add isolator
  • add lefthook
  • add pronto
  • add clicks and registrations stats to referral system
  • add feedback feature
  • add monitoring and analytics tools
  • add A11y
  • add deployments tools
  • add documentation (howto's, best practices, curated list of libraries)

You can check it here - https://github.com/alec-c4/kickstart

And i'll be happy for your feedback and PR's.

Logo

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!

更多推荐