We need to talk about graphQL
Alice
Bob
Carol
"CRUD pls"
Alice
Bob
"small change pls"
release
"small change pls"
"small change pls"
"small change pls"
graphql
I'm Alex, nice to meet you!
@alexnmoldovan
Engineering Manager @ Fortech
Co-Founder @ JSHeroes
medium.com/@alexnm
Hello 🇷🇴 ITCamp!
http://facebook.github.io/graphql/draft/
type Movie @model {
id: ID! @isUnique
title: String!
year: Int
director: String!
rating: Float
watched: Boolean @defaultValue(value: false)
poster: Poster @relation(name: "MoviePoster")
cast: [Actor!]! @relation(name: "MovieCast")
}
type Poster @model {
id: ID! @isUnique
movie: Movie @relation(name: "MoviePoster")
url: String!
alt: String!
}
type Actor @model {
id: ID! @isUnique
name: String!
movies: [Movie!]! @relation(name: "MovieCast")
}
Alice
Bob
Carol
"CRUD pls"
Alice
Bob
"small change pls"
release
"small change pls"
"small change pls"
"small change pls"
Alice
Bob
Carol
GraphQL
main features
QUERY
MUTATION
SUBSCRIPTION
Quick demo
The graphql stack
backend support
REcap
What we learned today
GraphQL is an abstraction on top of HTTP
Queries, Mutations, Subscriptions
Node GraphQL Server
Graphcool
Apollo
additional resources
https://github.com/chentsulin/awesome-graphql
Check out Prisma! https://www.prisma.io/
https://www.graphql.college/practice-graphql/
https://dev-blog.apollodata.com/full-stack-react-graphql-tutorial-582ac8d24e3b
I'm open to questions!
@alexnmoldovan
Engineering Manager @ Fortech
Co-Founder @ JSHeroes
medium.com/@alexnm
Thank you!
Slides: http://bit.ly/graphql-itcamp
We need to talk about GraphQL - ITCamp 2018
By Alex Moldovan
We need to talk about GraphQL - ITCamp 2018
- 876