We need to talk about graphQL

Alex Moldovan
@alexnmoldovan
Engineering Manager @ Fortech
Co-Founder @ JSHeroes

medium.com/@alexnm

Communication


Alice

Bob

Carol
"CRUD pls"

Alice

Bob
"small change pls"
release
"small change pls"
"small change pls"
"small change pls"


graphql
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
Thank you! Questions?

Alex Moldovan
@alexnmoldovan
Engineering Manager @ Fortech
Co-Founder @ JSHeroes

medium.com/@alexnm

We need to talk about GraphQL - DevTalks Cluj 2018
By Alex Moldovan
We need to talk about GraphQL - DevTalks Cluj 2018
- 1,331