Alex Moldovan
@alexnmoldovan
Engineering Manager @ Fortech
Co-Founder @ JSHeroes
medium.com/@alexnm
Alice
Bob
Carol
"CRUD pls"
Alice
Bob
"small change pls"
release
"small change pls"
"small change pls"
"small change pls"
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
QUERY
MUTATION
SUBSCRIPTION
GraphQL is an abstraction on top of HTTP
Queries, Mutations, Subscriptions
Node GraphQL Server
Graphcool
Apollo
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
Alex Moldovan
@alexnmoldovan
Engineering Manager @ Fortech
Co-Founder @ JSHeroes
medium.com/@alexnm