https://github.com/falm/graphql-rails-blog
Blog Demo for GraphQL on Rails
https://github.com/falm/graphql-rails-blog
Last synced: over 1 year ago
JSON representation
Blog Demo for GraphQL on Rails
- Host: GitHub
- URL: https://github.com/falm/graphql-rails-blog
- Owner: falm
- License: mit
- Created: 2016-05-28T07:26:10.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-22T03:15:54.000Z (almost 10 years ago)
- Last Synced: 2024-12-31T13:03:32.769Z (over 1 year ago)
- Language: Ruby
- Size: 36.1 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## GraphQL on Rails Blog Demo
> GraphQL与Rails结合的开发的例子
### 主要的Gem
```ruby
gem 'graphql'
gem 'graphiql-rails'
gem 'graphql-libgraphqlparser', '~> 0.2'
```
### 模型

- 查询: **/queries/create**
- schema定义 **app/graph/schemas/***
- type **app/graph/types/***
- mutation **app/graph/mutatinos/***
### 使用
访问 localhost:3000/graphql
