{"id":13514521,"url":"https://github.com/nicovak/slash_admin","last_synced_at":"2025-04-22T14:11:01.710Z","repository":{"id":56896111,"uuid":"91180311","full_name":"nicovak/slash_admin","owner":"nicovak","description":"A modern and customizable admin gem, just the rails way.","archived":false,"fork":false,"pushed_at":"2021-12-16T09:35:58.000Z","size":868,"stargazers_count":13,"open_issues_count":5,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T00:01:59.975Z","etag":null,"topics":["admin","admin-dashboard","hacktoberfest","rails","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicovak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/security.md","support":null}},"created_at":"2017-05-13T14:35:15.000Z","updated_at":"2024-07-29T09:07:31.000Z","dependencies_parsed_at":"2022-08-21T01:50:38.858Z","dependency_job_id":null,"html_url":"https://github.com/nicovak/slash_admin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicovak%2Fslash_admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicovak%2Fslash_admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicovak%2Fslash_admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicovak%2Fslash_admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicovak","download_url":"https://codeload.github.com/nicovak/slash_admin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250255700,"owners_count":21400410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin","admin-dashboard","hacktoberfest","rails","ruby","ruby-on-rails"],"created_at":"2024-08-01T05:00:57.226Z","updated_at":"2025-04-22T14:11:01.692Z","avatar_url":"https://github.com/nicovak.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"250\" src=\"https://i.imgur.com/mm9gXtL.png\" /\u003e\n\u003c/p\u003e\n\n# SlashAdmin\n\n[![Gem Version](https://badge.fury.io/rb/slash_admin.svg)](https://badge.fury.io/rb/slash_admin)\n[![CircleCI](https://circleci.com/gh/nicovak/slash_admin/tree/master.svg?style=svg\u0026circle-token=6e9ebd7fef3ebc881c75a769b0970808024a2ae9)](https://circleci.com/gh/nicovak/slash_admin/tree/master)\n\nA modern and fully customizable admin, just the rails way.\nEmbedded admin user and authentication system, devise is not needded.\n\n❤️ [Demo repository](https://github.com/nicovak/slash_admin_demo)\n🚀 [Live running](https://slashadmin.herokuapp.com/admin)\n\nUser\n`admin`\n\nPassword\n`admin@admin`\n\n#### Motivation:\n- Provide to Ruby On Rails the admin it deserves without DSL or obscure logic.\n- Provide an easy to use and modern experience to final users.\n\nI tried to take the best from two greats existing gem:\n- [rails_admin](https://github.com/sferik/rails_admin)\n- [administrate](https://github.com/thoughtbot/administrate)\n\nDesign inspired from the awesome metronic admin theme:\n- [keenthemes](http://keenthemes.com/preview/metronic/)\n\n#### Screenshots\n\n##### Login\n![Image of Login screen](https://i.imgur.com/ftwC0rF.png)\n##### Dashboard\n![Image of Dashboard](https://i.imgur.com/3JzkvoT.png)\n##### List\n![Image of List](https://i.imgur.com/y6Vz6S1.png)\n##### Edit / Create\n![Image of Create / Edit](https://i.imgur.com/S2QqHWF.png)\n\n### Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'slash_admin'\n```\n\nThen execute:\n\n```bash\n$ bundle install\n```\n\nOr install it yourself as:\n\n```bash\n$ gem install slash_admin\n```\n\nGemfile\n\n```\ngem 'carrierwave'\n```\n\nThen:\n\n```bash\n$ rails g slash_admin:install\n$ rails slash_admin:install:migrations\n$ rails db:migrate\n```\n\n`config/initializers/mime_types.rb`\n\n```ruby\nMime::Type.register \"application/xls\", :xls\n```\n\nIf your apps uses Sprockets 4+, you'll need to add SlashAdmin assets to your `manifest.js` file. To do this, add these two lines to the file:\n\n`app/assets/config/manifest.js`\n\n```\n//= link slash_admin/application.css\n//= link slash_admin/application.js\n```\n\n`config/routes.rb`\n\n```ruby\nRails.application.routes.draw do\n  mount SlashAdmin::Engine =\u003e \"/\"\nend\n```\n\nMounted as '/' but prefixed in the gem and in routes definition of models admin. See the full example above.\n\n```ruby\nRails.application.routes.draw do\n  mount SlashAdmin::Engine =\u003e \"/\"\n\n  namespace :slash_admin, path: \"/admin\" do\n    scope module: 'models' do\n      resources :pages # assume Page model\n    end\n  end\nend\n```\n\n### Important\n\nIf you are using [friendly_id](https://github.com/norman/friendly_id) gem, you have to add `routes: :default` like so:\n\n```ruby\nfriendly_id :title, use: :history, routes: :default\n```\n\nExample of create admin in `seed.rb` in your app:\n\n```ruby\nSlashAdmin::Admin.create!(\n  username:               'admin',\n  email:                  'contact@mysite.com',\n  password:               'admin@admin',\n  password_confirmation:  'admin@admin'\n)\n```\n\n### Documentation\n\n[Read the docs](https://github.com/nicovak/slash_admin/tree/master/docs/index.md)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/nicovak/slash_admin. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the slash_admin project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/nicovak/slash_admin/tree/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicovak%2Fslash_admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicovak%2Fslash_admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicovak%2Fslash_admin/lists"}