Godmin

screenshot of Godmin
rails

Admin framework for Rails 5+

Overview:

Godmin is an admin framework designed for Rails 5+ applications. It allows developers to create dedicated admin sections within their apps or to build standalone admin applications. With features like scoping, filtering, and batch actions, Godmin offers a customizable and robust solution for admin tasks. Unlike ActiveAdmin and RailsAdmin, Godmin focuses on using opt-in modules and helpers, making it easier to integrate with regular Rails apps and engines.

Features:

  • Support for Rails 5+: Godmin is compatible with Rails version 5 and above.
  • Scoping and Filtering: Easily set up scopes and filters for your models.
  • Batch Actions: Perform bulk actions on your models efficiently.
  • Opt-in Modules: Godmin provides modules and helpers that can be selectively applied to Rails apps and engines.
  • Regular Rails App Structure: Admin sections built with Godmin are regular Rails apps or engines, offering familiarity and flexibility.
  • Less Learning Curve: With Godmin, there are fewer new concepts to learn, making it easier to get started.
  • Customizable Experience: Building admin apps with Godmin allows tailoring the experience for administrators.

Standalone installation:

  1. Add the gem to the application's Gemfile:

    gem 'godmin'
    
  2. Bundle, then run the install generator:

    rails generate godmin:install
    
  3. Access the admin section at localhost:3000.

Engine installation:

  1. Add the engine gem to the application's Gemfile:

    gem 'godmin', require: 'godmin/engine'
    
  2. Mount the engine in the application's config/routes.rb:

    mount Godmin::Engine => '/admin'
    
  3. Add the gem to the engine's gemspec, e.g., admin/admin.gemspec.

  4. Bundle, then run the install generator within the scope of the engine:

    rails generate godmin:install
    
  5. Access the admin section at localhost:3000/admin.

Summary:

Godmin is a versatile admin framework for Rails applications, offering features like scoping, filtering, and batch actions. With its focus on opt-in modules and regular Rails app structure, Godmin provides a customizable and familiar experience for developers building admin sections. The installation process for standalone and engine setups is straightforward, making it easy to integrate Godmin into existing Rails projects.

rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.

dashboard
Dashboard

A dashboard style website template is a pre-designed layout that features a user interface resembling a control panel or dashboard. It typically includes charts, graphs, tables, and other data visualization tools that allow users to monitor and analyze data in real-time.