steveluscher/zero-to-graphql
소개
Examples of GraphQL endpoints created using various languages/frameworks.
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalzero-to-graphql
In this repository, you will find examples of GraphQL endpoints created using various languages atop different frameworks. The goal is to demonstrate how you might go about creating a GraphQL endpoint atop your existing infrastructure, whatever that may be, without having to rewrite your data model.
Watch the original presentation
The examples' data model
Every example in this repository exposes a Person data model using an API considered idiomatic for the framework in question (eg. ActiveRecord for Rails). The type definition of the Person model looks like this:
type Person {
id: String!
first_name: String!
last_name: String!
username: String!
email: String!
friends: [Person]
}
Running the examples
Each example features its own README.md file to help you get up and running.
Contributing
See a language or framework for which there is no example? Feel free to send us a pull request! Expose the data model outlined above using whatever API you like, be sure to provide some seed data, and write a README that outlines all of the steps needed to get up and running with an instance of GraphiQL that you can use to issue queries to your new GraphQL endpoint.
관련 프로젝트 살펴보기
불러오는 중…
