goodnight-api:晚安API

时间:2021-03-16 12:52:09
【文件属性】:
文件名称:goodnight-api:晚安API
文件大小:52KB
文件格式:ZIP
更新时间:2021-03-16 12:52:09
Ruby 晚安API 概述 Ruby3.0.0 导轨6.1.3 数据库:SQLite 3(因为这是一个小项目,所以我选择它) 一些宝石的使用:设计,葡萄,acts_as_follower,... 我使用葡萄来构建API结构。 为什么选择葡萄? Grape是“用于Ruby的类似REST的API框架”,旨在在Rack上运行或与其他Ruby框架(如Rails和Sinatra)一起运行。 当与其他Ruby框架一起使用时,Grape通过提供易于使用的DSL使其更易于开发RESTful API。 我真的很喜欢使用Grape。 它的简单性使其真正易于理解和使用。 Grape是一个非常有用的工具,可帮助您在Ruby中构建干净高效的RESTful API。 我真的很喜欢我的代码看起来多么干净,以及它们的自我说明。
【文件预览】:
goodnight-api-main
----log()
--------.keep(0B)
----bin()
--------rake(131B)
--------setup(1010B)
--------spring(494B)
--------rails(182B)
--------bundle(3KB)
----vendor()
--------.keep(0B)
----config()
--------locales()
--------database.yml(620B)
--------initializers()
--------puma.rb(2KB)
--------application.rb(1KB)
--------routes.rb(182B)
--------credentials.yml.enc(464B)
--------boot.rb(207B)
--------storage.yml(1KB)
--------spring.rb(97B)
--------cable.yml(190B)
--------environment.rb(128B)
--------environments()
----db()
--------seeds.rb(520B)
--------migrate()
--------schema.rb(3KB)
----Rakefile(227B)
----test()
--------models()
--------test_helper.rb(386B)
--------controllers()
--------mailers()
--------integration()
--------fixtures()
--------channels()
----app()
--------models()
--------jobs()
--------api()
--------controllers()
--------views()
--------mailers()
--------channels()
----storage()
--------.keep(0B)
----Gemfile(2KB)
----Gemfile.lock(6KB)
----tmp()
--------.keep(0B)
--------pids()
----.ruby-version(11B)
----.gitignore(728B)
----lib()
--------tasks()
----public()
--------robots.txt(99B)
----README.md(782B)
----config.ru(160B)
----.gitattributes(247B)

网友评论