![build & test & quality](https://github.com/nejdetkadir/devise-doorkeeper-starter/actions/workflows/main.yml/badge.svg?branch=main)
[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)
![Ruby Version](https://img.shields.io/badge/ruby_version-2.7.2-blue.svg)
![Rails Version](https://img.shields.io/badge/rails_version-7.0.1-c52f24.svg)
# Devise + Doorkeeper Starter
An app that showcases how to use [Devise](https://github.com/heartcombo/devise) with [Doorkeeper (OAuth 2 provider)](https://github.com/doorkeeper-gem/doorkeeper)
# Installation
## Prerequisites
- [Ruby](https://rvm.io/)
- [PostgreSQL](https://www.postgresql.org/)
- [Redis](https://redis.io/)
## Installation
- Install GEM dependencies:
```bash
bundle install
```
- Create database, migrate tables and run the seed data:
```bash
rails db:create
rails db:migrate
rails db:seed
```
- If you are setting up again, when you already have previous databases:
```bash
rails db:reset
```
`reset` is equivalent of `rails db:drop & rails db:setup`.
# LICENSE
````
MIT License
Copyright (c) 2022 Nejdet Kadir Bektaş
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
````
没有合适的资源?快使用搜索试试~ 我知道了~
展示如何将Devise与Doorkeeper(OAuth2提供商)一起使.zip
共132个文件
rb:55个
erb:19个
keep:19个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 163 浏览量
2023-04-06
22:19:55
上传
评论
收藏 97KB ZIP 举报
温馨提示
展示如何将Devise与Doorkeeper(OAuth2提供商)一起使
资源推荐
资源详情
资源评论
收起资源包目录
展示如何将Devise与Doorkeeper(OAuth2提供商)一起使.zip (132个子文件)
bundle 3KB
application.css 721B
credentials.yml.enc 464B
edit.html.erb 1KB
swagger.html.erb 1KB
_links.html.erb 1KB
edit.html.erb 856B
new.html.erb 837B
new.html.erb 647B
new.html.erb 587B
new.html.erb 486B
new.html.erb 480B
application.html.erb 443B
index.html.erb 407B
_error_messages.html.erb 398B
reset_password_instructions.html.erb 393B
email_changed.html.erb 314B
unlock_instructions.html.erb 276B
mailer.html.erb 229B
confirmation_instructions.html.erb 198B
password_change.html.erb 117B
mailer.text.erb 13B
Gemfile 4KB
.gitattributes 246B
.gitignore 709B
Guardfile 2KB
404.html 2KB
422.html 2KB
500.html 2KB
favicon.ico 0B
importmap 91B
index.js 584B
application.js 218B
hello_controller.js 157B
application.js 157B
manifest.js 143B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
.keep 0B
LICENSE 1KB
Gemfile.lock 8KB
README.md 2KB
apple-touch-icon.png 0B
apple-touch-icon-precomposed.png 0B
rails 141B
rake 90B
Rakefile 227B
doorkeeper.rb 21KB
devise.rb 15KB
production.rb 4KB
20220123114901_create_doorkeeper_tables.rb 3KB
schema.rb 3KB
development.rb 2KB
test.rb 2KB
tokens_controller.rb 2KB
puma.rb 2KB
registrations_controller.rb 1KB
tokens_controller_test.rb 1KB
20220123111335_devise_create_users.rb 1KB
apidocs_controller.rb 1KB
registration_responses.rb 1KB
token_inputs.rb 1KB
token_responses.rb 1KB
content_security_policy.rb 1KB
doorkeeper_registerable.rb 1KB
doorkeeper_params.rb 1011B
registrations_controller.rb 921B
application.rb 720B
devise_controller.rb 653B
inflections.rb 649B
registration_input.rb 574B
registrations_controller_test.rb 573B
doorkeeper_access_tokens_factory.rb 561B
api.rb 534B
assets.rb 502B
error_response.rb 499B
seeds.rb 497B
test_helper.rb 474B
user.rb 472B
api_controller.rb 469B
permissions_policy.rb 384B
importmap.rb 345B
application_job.rb 269B
filter_parameter_logging.rb 260B
共 132 条
- 1
- 2
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功