All Projects → wallaby-rails → Wallaby

wallaby-rails / Wallaby

Licence: mit
Autocomplete the resourceful actions and views for ORMs for admin interface and other purposes.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Wallaby

Forest Rails
🌱 Rails Liana for Forest Admin
Stars: ✭ 247 (+12.79%)
Mutual labels:  rails, admin
Binda
Headless CMS based on Ruby on Rails
Stars: ✭ 60 (-72.6%)
Mutual labels:  rails, admin
Godmin
Admin framework for Rails 4+
Stars: ✭ 464 (+111.87%)
Mutual labels:  rails, admin
Bhf
Rails-Engine-Gem that offers an admin interface for trusted user
Stars: ✭ 81 (-63.01%)
Mutual labels:  rails, admin
Sail
Sail is a lightweight Rails engine that brings an admin panel for managing configuration settings on a live Rails app
Stars: ✭ 484 (+121%)
Mutual labels:  rails, admin
Activeadmin Themes
Awesome themes for ActiveAdmin.
Stars: ✭ 141 (-35.62%)
Mutual labels:  rails, admin
Empirical Core
Empirical-Core is our web app for managing students, assigning activities, and viewing results. Core seamlessly incorporates 3rd party applications via the Empirical API.
Stars: ✭ 209 (-4.57%)
Mutual labels:  rails
Meta Tags
Search Engine Optimization (SEO) for Ruby on Rails applications.
Stars: ✭ 2,464 (+1025.11%)
Mutual labels:  rails
Cafetownsend Angular Rails
AngularJS and Rails port of the famous Cafe Townsend demo originally written in ActionScript
Stars: ✭ 208 (-5.02%)
Mutual labels:  rails
Activerecord Turntable
ActiveRecord Sharding Plugin
Stars: ✭ 206 (-5.94%)
Mutual labels:  rails
Secondbase
Seamless second database integration for Rails.
Stars: ✭ 216 (-1.37%)
Mutual labels:  rails
Diaper
Diaperbase is an inventory system for diaper banks, to aid them in tracking their inventory and providing statistics about their inventory flows.
Stars: ✭ 214 (-2.28%)
Mutual labels:  rails
Services
A nifty service layer for your Rails app
Stars: ✭ 212 (-3.2%)
Mutual labels:  rails
Rails Timeago
A Rails helper for time tags that can be used with the jQuery Timeago plugin.
Stars: ✭ 210 (-4.11%)
Mutual labels:  rails
Book Ms Ui
🍻 基于 vue.js 、element-ui 搭建一个极简的前后端分离图书管理平台
Stars: ✭ 214 (-2.28%)
Mutual labels:  admin
Vue Admin
基于vue+element-ui的后台管理系统动态tabs实践
Stars: ✭ 208 (-5.02%)
Mutual labels:  admin
Nx Admin
👍 A magical 🐮 ⚔ vue admin,记得star
Stars: ✭ 2,497 (+1040.18%)
Mutual labels:  admin
Vue Blog
🎉 基于vue全家桶 + element-ui 构建的一个后台管理集成解决方案
Stars: ✭ 208 (-5.02%)
Mutual labels:  admin
Rails Env Favicon
Gem to display the rails environment on the favicon
Stars: ✭ 212 (-3.2%)
Mutual labels:  rails
Vue Admin Vuetify
`vue-admin-vuetify` is a Front-end component library project based on Vue.js using Vuetify. Need vpn proxy to view
Stars: ✭ 213 (-2.74%)
Mutual labels:  admin

Wallaby

Gem Version License: MIT Travis CI Maintainability Test Coverage Inch CI

Wallaby is a Rails engine that autocompletes the resourceful controller and view for a given ORM model (ActiveRecord, HER) for admin interface and other purposes.

It can be extended to support any ORM model and can be easily and deeply customized at MVC's different aspects by using decorators, controllers, type partials, servicers, authorizers, paginators and themes.

Try the demo here.

Animated Demo

Install

Add Wallaby to Gemfile.

# Gemfile
gem 'wallaby'

And re-bundle.

bundle install

Basic Usage

As Admin Interface

Just mount Wallaby engine to desired path, e.g. /admin in config/routes.rb.

# config/routes.rb
mount Wallaby::Engine, at: '/admin'

Or run installer to generate default application classes/templates under namespace e.g. Admin and mount Wallaby engine to path /admin.

rails g wallaby:install admin

Restart rails server, and visit http://localhost:3000/admin to start exploring!

For General Purposes

Instead of using Rails scaffold generator to generate all the boilerplate code, Wallaby can help to quickly get the pages up for ordinary resourceful actions.

For example, if a model Blog is generated:

rails generate model blog title:string body:text
rails db:migrate

There are two ways to spin up things, choose what fits best:

  • add resources route to config/routes.rb using wresources helper without any needs of customization

    # config/routes.rb
    wresources :blogs, controller: 'wallaby/resources'
    
  • add blogs controller for later customization

    # app/controllers/blogs_controller.rb
    class BlogsController < Wallaby::ResourcesController
    end
    

    then add corresponding resources route using origin Rails resources helper

    # config/routes.rb
    resources :blogs
    

Restart rails server, and visit http://localhost:3000/blogs to give it a taste!

Documentation

Want to contribute?

Raise an issue, discuss and resolve!

License

This project uses 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].