Skip to content

afeiship/rails_jwt_admin

Repository files navigation

rails_jwt_admin

Jwt for rails admin.

installation

# 1. add gen & bundle install
gem 'rails_jwt_admin'

# 2. install admin
rails g rails_jwt_admin:install

# 3. check table & rake db:migrate
rake db:migrate

seed

RailsJwtAdmin::User.create(
    username: "admin", 
    email: "example@qq.com", 
    password: "123123", 
    password_confirmation: "123123"
)

resources