【文件属性】:
文件名称:rest-api-authentication-jwt-ruby:使用Ruby,Rails,PostgreSQL,JWT等开发的软件(REST-API)
文件大小:45KB
文件格式:ZIP
更新时间:2021-05-23 03:11:18
ruby cors jwt postgresql bcrypt
REST API身份验证Rails-JWT V1.0
描述
该存储库是具有Rails,JWT,PostgreSQL等的应用程序软件
安装
使用Ruby 2.7时,最好使用Rails 6.0。
软件
Ruby版本管理器RVM 1.29.10-next
数据库
使用PostgreSQL
应用
客户休息:邮递员,失眠,Talend API测试仪等
外挂程式
您可以使用宝石JWT,Carrierwave,Bcrypt,Rack-Cors等
用法
$ git clone https://github.com/DanielArturoAlejoAlvarez/rest-api-authentication-jwt-ruby[NAME APP]
$ bundle install
$ rails db:migrate
$ rails s
请按照以下步骤操作,一切顺利! 重要的:
编码
路线
...
na
【文件预览】:
rest-api-authentication-jwt-ruby-master
----.gitignore(4KB)
----README.md(3KB)
----bin()
--------rails(264B)
--------bundle(3KB)
--------spring(507B)
--------rake(213B)
--------setup(1008B)
----test()
--------integration()
--------mailers()
--------fixtures()
--------channels()
--------models()
--------test_helper.rb(386B)
--------controllers()
----public()
--------robots.txt(99B)
----Gemfile(1KB)
----db()
--------seeds.rb(370B)
--------migrate()
--------schema.rb(880B)
----log()
--------.keep(0B)
----.ruby-version(11B)
----app()
--------jobs()
--------views()
--------mailers()
--------channels()
--------models()
--------uploaders()
--------controllers()
----vendor()
--------.keep(0B)
----Gemfile.lock(5KB)
----config()
--------database.yml(3KB)
--------spring.rb(97B)
--------environment.rb(128B)
--------cable.yml(194B)
--------credentials.yml.enc(464B)
--------environments()
--------application.rb(1KB)
--------locales()
--------boot.rb(207B)
--------initializers()
--------routes.rb(264B)
--------storage.yml(1KB)
--------puma.rb(2KB)
----storage()
--------.keep(0B)
----config.ru(130B)
----lib()
--------tasks()
--------json_web_token.rb(363B)
----Rakefile(227B)