graphql-rails-example

时间:2021-05-20 17:44:19
【文件属性】:
文件名称:graphql-rails-example
文件大小:28KB
文件格式:ZIP
更新时间:2021-05-20 17:44:19
Ruby 这是通过REST API与GraphQL一起使用的实验。 这个仓库是Rails内置的REST API。 此存储包含noode应用程序,该应用程序包含所有GraphQL好东西,您将需要进行设置并搜索代码。 没有太多,所以很简单。 要获得此Rails应用设置,请按照以下说明进行操作。 git clone git@github.com:jarsbe/graphql-rails-example.git cd graphql-rails-example bundle install bundle exec rake db:migrate bundle exec rails server 查看http://localhost:3000/api/books以确保REST API正常运行。 保持运行状态,然后在另一个控制台会话中启动该节点示例。
【文件预览】:
graphql-rails-example-master
----.gitignore(474B)
----app()
--------models()
--------helpers()
--------views()
--------serializers()
--------controllers()
----config.ru(153B)
----bin()
--------rails(219B)
--------setup(805B)
--------bundle(129B)
--------spring(461B)
--------rake(164B)
----log()
--------.keep(0B)
----db()
--------migrate()
--------seeds.rb(424B)
--------schema.rb(985B)
----public()
--------robots.txt(202B)
--------422.html(2KB)
--------favicon.ico(0B)
--------500.html(1KB)
--------404.html(2KB)
----vendor()
--------assets()
----config()
--------boot.rb(132B)
--------secrets.yml(964B)
--------database.yml(552B)
--------routes.rb(84B)
--------environments()
--------environment.rb(150B)
--------application.rb(1KB)
--------locales()
--------initializers()
----lib()
--------assets()
--------tasks()
----readme.md(711B)
----Gemfile(811B)
----Rakefile(249B)
----Gemfile.lock(3KB)

网友评论