Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/rails_jwt_admin
Jwt admin gem.
https://github.com/afeiship/rails_jwt_admin
admin api auth authentication engine gem jwt rails ruby single-user token
Last synced: about 1 month ago
JSON representation
Jwt admin gem.
- Host: GitHub
- URL: https://github.com/afeiship/rails_jwt_admin
- Owner: afeiship
- License: mit
- Created: 2020-12-02T01:17:02.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-16T08:48:28.000Z (almost 3 years ago)
- Last Synced: 2024-04-24T00:39:51.050Z (9 months ago)
- Topics: admin, api, auth, authentication, engine, gem, jwt, rails, ruby, single-user, token
- Language: Ruby
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# rails_jwt_admin
> Jwt for rails admin.## installation
```shell
# 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
```rb
RailsJwtAdmin::User.create(
username: "admin",
email: "[email protected]",
password: "123123",
password_confirmation: "123123"
)
```## resources
- https://edgeapi.rubyonrails.org/classes/Rails/Engine.html
- https://guides.rubyonrails.org/engines.html
- https://www.jianshu.com/p/56467f890516
- https://www.pluralsight.com/guides/token-based-authentication-with-ruby-on-rails-5-api
- https://github.com/jwt/ruby-jwt
- https://github.com/afeiship/rails-module-jwt
- https://github.com/afeiship/rails_admin_users