All Projects → excid3 → Madmin

excid3 / Madmin

Licence: mit
A robust Admin Interface for Ruby on Rails apps

Programming Languages

javascript
184084 projects - #8 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Madmin

Sail
Sail is a lightweight Rails engine that brings an admin panel for managing configuration settings on a live Rails app
Stars: ✭ 484 (+80.6%)
Mutual labels:  ruby-on-rails, admin
Binda
Headless CMS based on Ruby on Rails
Stars: ✭ 60 (-77.61%)
Mutual labels:  ruby-on-rails, admin
Bhf
Rails-Engine-Gem that offers an admin interface for trusted user
Stars: ✭ 81 (-69.78%)
Mutual labels:  ruby-on-rails, admin
magento2-product-grid-category-filter
Add category column and filter in an efficient way to the product grid in the Magento 2 admin.
Stars: ✭ 22 (-91.79%)
Mutual labels:  admin
plain-free-bootstrap-admin-template
Free Bootstrap 5 Admin and Dashboard Template that comes with all essential dashboard components, elements, charts, graph and application pages. Download now for free and use with personal or commercial projects.
Stars: ✭ 141 (-47.39%)
Mutual labels:  admin
smithy
Smithy is an admin dashboard written in Go and VueJS. It is designed to support multiple existed architectures and databases
Stars: ✭ 25 (-90.67%)
Mutual labels:  admin
Modular Admin Html
ModularAdmin - Free Dashboard Theme Built On Bootstrap 4 | HTML Version
Stars: ✭ 2,875 (+972.76%)
Mutual labels:  admin
prophet
用于构建 react 中后台前端应用框架
Stars: ✭ 12 (-95.52%)
Mutual labels:  admin
Coreui Free Vue Admin Template
Open source admin template based on Bootstrap 5 and Vue 3
Stars: ✭ 2,951 (+1001.12%)
Mutual labels:  admin
ruby-study-group
Grupo de estudos de Ruby no Training Center
Stars: ✭ 28 (-89.55%)
Mutual labels:  ruby-on-rails
generator-smacss
Perfectionist generator that scaffolds out different types of Frontend apps
Stars: ✭ 60 (-77.61%)
Mutual labels:  admin
fanpianAdmin
This is the admin for fanpian project written by react.
Stars: ✭ 27 (-89.93%)
Mutual labels:  admin
lightence-admin
Free and easy-to-use admin template based on React 17+
Stars: ✭ 337 (+25.75%)
Mutual labels:  admin
django-restful-admin
Django admin restful api
Stars: ✭ 51 (-80.97%)
Mutual labels:  admin
Postgui
A React web application to query and share any PostgreSQL database.
Stars: ✭ 260 (-2.99%)
Mutual labels:  admin
activeadmin active resource
Active Admin + Active Resource: to use a REST API in place of a local database as data source
Stars: ✭ 20 (-92.54%)
Mutual labels:  ruby-on-rails
Gmanager
基于gf框架的管理平台,支持登录、认证、组织机构、用户、角色、菜单、日志
Stars: ✭ 255 (-4.85%)
Mutual labels:  admin
open-flights
OpenFlights - A CRUD app example built with ruby on rails and react.js using webpacker
Stars: ✭ 105 (-60.82%)
Mutual labels:  ruby-on-rails
thisisfine
T̶̘̊h̷̙͘į̸̀ș̷͌ ̴̳̀r̴̬̕e̷̬͐p̵͍̚o̵̧̎s̶̗͂i̷͚̿t̷̟͝õ̴͙ř̵̘y̷̛̪ ̴̮͌i̶͊͜s̴̠̊ ̴̼͗f̶͘͜i̵̮͊n̴̨̊e̶̖̍!̷̝͋ ̴̨͛T̷̐͜h̷̺̔e̶̩̍r̸̰͒é̶̥ ̸̻̇ȉ̶͍s̵̡̍ ̴̛̫n̶̼̓ọ̷̀t̸̊ͅh̵̙͑ĩ̶͚n̵͙̋g̴̫̃ ̸̼͊w̷̘̿r̶̩̓o̷̠͝n̷͉͌g̶̞͒ ̷̛̼ọ̸̓v̶͍̈́e̵̺͑r̸̻̄ ̴̲̀h̸̉ͅé̶͙r̷̻̾e̷̠͛.̸̨̌
Stars: ✭ 18 (-93.28%)
Mutual labels:  ruby-on-rails
webrtc-hotwire-rails
A video chat app demonstration using Hotwire and Ruby on Rails
Stars: ✭ 38 (-85.82%)
Mutual labels:  ruby-on-rails

Madmin

🛠 A robust Admin Interface for Ruby on Rails apps

Build Status Gem Version

Why another Ruby on Rails admin? We wanted an admin that was:

  • Familiar and customizable like Rails scaffolds (less DSL)
  • Supports all the Rails features out of the box (ActionText, ActionMailbox, etc)
  • Stimulus / Turbolinks / Hotwire ready

Madmin Screenshot We're still working on the design!

Installation

Add madmin to your application's Gemfile:

bundle add madmin

Then run the madmin generator:

rails g madmin:install

This will install Madmin and generate resources for each of the models it finds.

Resources

Madmin uses Resource classes to add models to the admin area.

Generate a Resource

To generate a resource for a model, you can run:

rails g madmin:resource ActionText::RichText

Configuring Views

The views packaged within the gem are a great starting point, but inevitably people will need to be able to customize those views.

You can use the included generator to create the appropriate view files, which can then be customized.

For example, running the following will copy over all of the views into your application that will be used for every resource:

rails generate madmin:views

The view files that are copied over in this case includes all of the standard Rails action views (index, new, edit, show, and _form), as well as:

  • application.html.erb (layout file)
  • _javascript.html.erb (default JavaScript setup)
  • _navigation.html.erb (renders the navigation/sidebar menu)

As with the other views, you can specifically run the views generator for only the navigation or application layout views:

rails g madmin:views:navigation
 # -> app/views/madmin/_navigation.html.erb

rails g madmin:views:layout  # Note the layout generator includes the layout, javascript, and navigation files.
 # -> app/views/madmin/application.html.erb
 # -> app/views/madmin/_javascript.html.erb
 # -> app/views/madmin/_navigation.html.erb

If you only need to customize specific views, you can restrict which views are copied by the generator:

rails g madmin:views:index
 # -> app/views/madmin/application/index.html.erb

You can also scope the copied view(s) to a specific Resource/Model:

rails generate madmin:views:index Book
 # -> app/views/madmin/books/index.html.erb

Authentication

You can use a couple of strategies to authenticate users who are trying to access your madmin panel: Authentication Docs

🙏 Contributing

This project uses Standard for formatting Ruby code. Please make sure to run standardrb before submitting pull requests.

📝 License

The gem is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].