SlideShare a Scribd company logo
How to use
GraphQL with
ApolloJS
presents
Who am I ?
Jonathan Jalouzot @captainjojo42
Astronaut @ElevenLabs
Founder of GraphQL Paris @graphqlparis
Architect for project Leroy Merlin
https://depannage.leroymerlin.fr/
Summary
1. GraphQL history
2. Who’s using GraphQL?
3. Advantages and differences compared to a Rest API
4. How to use GraphQL?
5. What is ApolloJs?
GraphQL, ApolloJs ?
GraphQL
History
While the GraphQL specification was first made public by Facebook in 2015,
GraphQL has been a key component of their mobile application deployment since
2012.
GraphQL is a query language for your API, and a server-side runtime for executing
queries by using a type system you define for your data. GraphQL isn't tied to any
specific database or storage engine and is instead backed by your existing code
and data.
GraphQL doesn’t store data
Who’s using GraphQL?
Advantages & differences
Compared to a Rest API
Why adopting GraphQL will help you ship features faster
● Developer experience
● Automatic documentation
● Simplify front-end code
● One entry point so we avoid round trips
● Improved performance
● No need to versioning
How to use GraphQL
Api Gateway
Create GraphQL server with apolloJS
What is ApolloJS?
Apollo is a family of technologies you can incrementally add to your
stack:
● Apollo Server to translate your REST API and backends into a
GraphQL schema.
● Apollo Client to connect data to your UI
● Apollo Engine for infrastructure and tooling
Definition
ApolloJS
Products
Apollo Engine
The GraphQL gateway
that provides essential
features including
caching, performance
tracing, and error
tracking.
Apollo Server
Translate your existing
REST APIs and backends
into GraphQL with this
powerful set of tools for
building GraphQL APIs.
Apollo Client
Bind data to your UI
with the ultra-flexible,
community-driven
GraphQL client for
React, JavaScript, and
native platforms.
Summary
1/ Install ApolloJS
2/ Data type
3/ Resolve query
4/ Resolve mutation
5/ Dataloader
7/ Subscription
8/ Directives
Create your server
Install server
ApolloServer
Types
How to ?
Types
How to ?
Query
How to ?
Schemas
Playground
Query
Resolvers
Query
Resolvers
Mutation
Type
Mutation
Type
Mutation
Resolvers
Dataloader
Performance
Dataloader
Performance
Subscription
Install
Subscription
Type
Subscription
Resolvers
Directives
Type
Directives
Server
Directives
Resolver
Directives
User
Do you have any questions?
References:
A lot of reading
● https://www.apollographql.com/
● https://graphql.org/
● https://github.com/eleven-labs/apollo-server
● https://dev-blog.apollodata.com/2017-the-year-in-graphql-124a050d04c6
● https://medium.com/airbnb-engineering/reconciling-graphql-and-thrift-at-airbnb-
a97e8d290712
● https://twitter.com/graphqlparis
● https://blog.eleven-labs.com/fr/graphql-kesako/
● https://codelabs.eleven-labs.com/course/fr/graphql-avec-apollo/

More Related Content

PDF
React and GraphQL at Stripe
PDF
GraphQL across the stack: How everything fits together
PDF
Modular GraphQL with Schema Stitching
PDF
Adding GraphQL to your existing architecture
PPTX
Create flexible react applications using GraphQL API's
PDF
GraphQL: The Missing Link Between Frontend and Backend Devs
PDF
The Apollo and GraphQL Stack
PDF
REST vs GraphQL
React and GraphQL at Stripe
GraphQL across the stack: How everything fits together
Modular GraphQL with Schema Stitching
Adding GraphQL to your existing architecture
Create flexible react applications using GraphQL API's
GraphQL: The Missing Link Between Frontend and Backend Devs
The Apollo and GraphQL Stack
REST vs GraphQL

What's hot (19)

PDF
GraphQL Fundamentals
PPTX
Create flexible React applications using GraphQL apis
PPTX
Taking Control of your Data with GraphQL
PDF
Why UI Developers Love GraphQL - Sashko Stubailo, Apollo/Meteor
PPTX
Introduction to graphQL
PPTX
GraphQL.net
PDF
James Baxley - Statically typing your GraphQL app
PPTX
Into to GraphQL
PDF
How to GraphQL
PDF
GraphQL
PPTX
React Flux to GraphQL
PDF
GraphQL Advanced
PPTX
CONDG April 23 2020 - Baskar Rao - GraphQL
PDF
Graphql
PPT
Graphql presentation
PDF
How to GraphQL: React Apollo
PDF
GraphQL London January 2018: Graphql tooling
PDF
What’s new in angular 12[highlights of angular 12 features]
GraphQL Fundamentals
Create flexible React applications using GraphQL apis
Taking Control of your Data with GraphQL
Why UI Developers Love GraphQL - Sashko Stubailo, Apollo/Meteor
Introduction to graphQL
GraphQL.net
James Baxley - Statically typing your GraphQL app
Into to GraphQL
How to GraphQL
GraphQL
React Flux to GraphQL
GraphQL Advanced
CONDG April 23 2020 - Baskar Rao - GraphQL
Graphql
Graphql presentation
How to GraphQL: React Apollo
GraphQL London January 2018: Graphql tooling
What’s new in angular 12[highlights of angular 12 features]
Ad

Similar to Create GraphQL server with apolloJS (20)

PDF
Sashko Stubailo - The GraphQL and Apollo Stack: connecting everything together
PDF
How to use apolloJS on React ?
PDF
How easy (or hard) it is to monitor your graph ql service performance
PDF
GraphQL over REST at Reactathon 2018
PDF
Serverless GraphQL for Product Developers
PPTX
GraphQL.pptx
PPTX
GraphQL.pptx
PDF
Dubai Dreamin '24 - Exploring the Power of Salesforce GraphQL
PPTX
apidays LIVE Australia 2020 - Have your cake and eat it too: GraphQL? REST? W...
PDF
Spring GraphQL
PDF
Getting Started with Spring for GraphQL
PPTX
GraphQL API Crafts presentation
DOCX
Building an Android app with GraphQL Unleashing the Power of Modern Mobile De...
PDF
Oracle APEX 18.1 New Features
PDF
GraphQL for Native Apps
PDF
APIdays Paris 2018 - GraphQL Opening Talk: The State of GraphQL, Jonathan Jal...
PDF
Implementing OpenAPI and GraphQL services with gRPC
PDF
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...
DOCX
How has netflix embraced graph ql for rapid application development
PPTX
GraphQL-ify your APIs - Devoxx UK 2021
Sashko Stubailo - The GraphQL and Apollo Stack: connecting everything together
How to use apolloJS on React ?
How easy (or hard) it is to monitor your graph ql service performance
GraphQL over REST at Reactathon 2018
Serverless GraphQL for Product Developers
GraphQL.pptx
GraphQL.pptx
Dubai Dreamin '24 - Exploring the Power of Salesforce GraphQL
apidays LIVE Australia 2020 - Have your cake and eat it too: GraphQL? REST? W...
Spring GraphQL
Getting Started with Spring for GraphQL
GraphQL API Crafts presentation
Building an Android app with GraphQL Unleashing the Power of Modern Mobile De...
Oracle APEX 18.1 New Features
GraphQL for Native Apps
APIdays Paris 2018 - GraphQL Opening Talk: The State of GraphQL, Jonathan Jal...
Implementing OpenAPI and GraphQL services with gRPC
apidays LIVE Hong Kong 2021 - GraphQL : Beyond APIs, graph your enterprise by...
How has netflix embraced graph ql for rapid application development
GraphQL-ify your APIs - Devoxx UK 2021
Ad

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Cloud computing and distributed systems.
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Electronic commerce courselecture one. Pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
A Presentation on Artificial Intelligence
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation theory and applications.pdf
PDF
KodekX | Application Modernization Development
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
DOCX
The AUB Centre for AI in Media Proposal.docx
Spectral efficient network and resource selection model in 5G networks
Cloud computing and distributed systems.
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Electronic commerce courselecture one. Pdf
Machine learning based COVID-19 study performance prediction
Encapsulation_ Review paper, used for researhc scholars
A Presentation on Artificial Intelligence
Diabetes mellitus diagnosis method based random forest with bat algorithm
Understanding_Digital_Forensics_Presentation.pptx
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Unlocking AI with Model Context Protocol (MCP)
Agricultural_Statistics_at_a_Glance_2022_0.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation theory and applications.pdf
KodekX | Application Modernization Development
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
The AUB Centre for AI in Media Proposal.docx

Create GraphQL server with apolloJS

Editor's Notes

  • #3: Hi everyone, I’m happy to be with you guys today. I am Jonathan Jalouzot I work for Eleven-labs. It’s a big challenge for me to do this conference in english so you will hear a lot of ‘ze’ ‘zath’ ‘euh’ but you can be sure that my code is better than my english. So let’s get into it I work for Eleven-labs Find workmen Rdv => appointment Graphql and Apollojs
  • #5: Was created Two thousand fifteen API
  • #6: Was created Two thousand fifteen API
  • #7: Was created Two thousand fifteen API
  • #8: Schimas Everything is possible Database Explain with a exemple
  • #9: Was created Two thousand fifteen API
  • #10: Created to use graphql User interface Going through => passer par
  • #12: Risolvers
  • #22: Presentation dans Playground