Rails Engine for SimpleAdmin service
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app/controllers/simple_admin
bin
lib
.gitignore
.rspec
.travis.yml
CODE_OF_CONDUCT.md
Gemfile
README.md
Rakefile
simpleadmin.gemspec

README.md

Gem Version Gitter

SimpleAdmin

SimpleAdmin allows you to create a personalized administrative panel for your business and edit it without special knowledge in programming and works with any stack, because you are not tied to a specific programming language.

This is small API library to connect your application with SimpleAdmin service.

Example Application

Requirements

  • Ruby ~> 2.3;
  • Rails ~> 5.0;

Installation

simple_admin

Add SimpleAdmin to your application's Gemfile:

gem 'simpleadmin'

And then run:

bundle install

NOTE: If you want to test your local project you'll needing to install ngrok and run following command:

./ngrok http 3000

Copy your Forwadding URL (http://exampleapp.ngrok.io) and use it when you will be creating a project (column url).

Configuration

Add method mount_simpleadmin to your routes file to mount simpleadmin built-in routes:

# config/routes.rb
Rails.application.routes.draw do
  mount_simpleadmin
end

Create initializer, add your secret key and restart server

# config/initializers/simpleadmin.rb
ENV['SIMPLE_ADMIN_SECRET_KEY'] = 'SECRET_KEY'

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/getsimpleadmin/simpleadmin.

License

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