Home
Explore
Submit Search
Upload
Login
Signup
Advertisement
Check these out next
Document Model for High Speed Spark Processing
MongoDB
Hack angular wildly
Todd Warren
Log File Analysis: The most powerful tool in your SEO toolkit
Tom Bennet
Using server logs to your advantage
Alexandra Johnson
Building your first app with MongoDB
Norberto Leite
Creating 3rd Generation Web APIs with Hydra
Markus Lanthaler
MongoDB.local Seattle 2019: Building Your First MongoDB App Using Atlas & Stitch
MongoDB
Beautiful REST+JSON APIs with Ion
Stormpath
1
of
25
Top clipped slide
Building a Realtime Chat with React & GraphQL Subscriptions
May. 18, 2017
•
0 likes
1 likes
×
Be the first to like this
Show More
•
859 views
views
×
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Download Now
Download to read offline
Report
Software
Sample code: https://github.com/nikolasburk/graphql-chat/
Nikolas Burk
Follow
Developer Relations @ Prisma
Advertisement
Advertisement
Advertisement
Recommended
GraphQL Subscriptions
Nikolas Burk
650 views
•
46 slides
Building a Realtime Chat with React Native (Expo) & GraphQL Subscriptions
Nikolas Burk
1.9K views
•
19 slides
Diving into GraphQL, React & Apollo
Nikolas Burk
479 views
•
46 slides
The Serverless GraphQL Backend Architecture
Nikolas Burk
475 views
•
58 slides
REST in Peace - Using GraphQL with Apollo on iOS
Nikolas Burk
723 views
•
18 slides
Authentication, Authorization & Error Handling with GraphQL
Nikolas Burk
1.2K views
•
44 slides
More Related Content
Slideshows for you
(18)
Document Model for High Speed Spark Processing
MongoDB
•
975 views
Hack angular wildly
Todd Warren
•
247 views
Log File Analysis: The most powerful tool in your SEO toolkit
Tom Bennet
•
15.6K views
Using server logs to your advantage
Alexandra Johnson
•
155 views
Building your first app with MongoDB
Norberto Leite
•
969 views
Creating 3rd Generation Web APIs with Hydra
Markus Lanthaler
•
12.8K views
MongoDB.local Seattle 2019: Building Your First MongoDB App Using Atlas & Stitch
MongoDB
•
177 views
Beautiful REST+JSON APIs with Ion
Stormpath
•
3.7K views
Building Beautiful REST APIs in ASP.NET Core
Nate Barbettini
•
2.7K views
Building Beautiful REST APIs in ASP.NET Core
Stormpath
•
1.2K views
Server Logs: After Excel Fails
Oliver Mason
•
4.5K views
How Thermo Fisher Is Reducing Mass Spectrometry Experiment Times from Days to...
MongoDB
•
1.9K views
MongoDB and Hadoop: Driving Business Insights
MongoDB
•
3.2K views
On the Persistence of Persistent Identifiers of the Scholarly Web
Martin Klein
•
571 views
Spark and MongoDB
Norberto Leite
•
5.2K views
MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB
MongoDB
•
1.7K views
Content Management with MongoDB by Mark Helmstetter
MongoDB
•
63.3K views
MongoDB Days Silicon Valley: Introducing MongoDB 3.2
MongoDB
•
1.3K views
Similar to Building a Realtime Chat with React & GraphQL Subscriptions
(20)
React & GraphQL
Nikolas Burk
•
848 views
GraphQL with Spring Boot
Krzysztof Pawlowski
•
548 views
Better APIs with GraphQL
Josh Price
•
843 views
Building and deploying GraphQL Servers with AWS Lambda and Prisma I AWS Dev D...
AWS Germany
•
1.7K views
GraphQL Schema Stitching with Prisma & Contentful
Nikolas Burk
•
635 views
Conceptos básicos. seminario web 3 : Diseño de esquema pensado para documentos
MongoDB
•
3.9K views
Is GraphQL Really Self-documenting?
Pronovix
•
129 views
JSON-LD: JSON for Linked Data
Gregg Kellogg
•
73.1K views
Demystifying NoSQL - All Things Open - October 2020
Matthew Groves
•
121 views
GraphQL - when REST API is to less - lessons learned
MarcinStachniuk
•
378 views
Back to Basics Webinar 3 - Thinking in Documents
Joe Drumgoole
•
227 views
Couchdb List and Show Introduction
Oliver Kurowski
•
9.7K views
Back to Basics Webinar 3: Schema Design Thinking in Documents
MongoDB
•
3.6K views
MongoDB.local Berlin: Building a GraphQL API with MongoDB, Prisma and Typescript
MongoDB
•
513 views
Elasticsearch: You know, for search! and more!
Philips Kokoh Prasetyo
•
6.7K views
Building GraphQL Servers with Node.JS & Prisma
Nikolas Burk
•
723 views
GraphQL - when REST API is to less - lessons learned
MarcinStachniuk
•
293 views
FIFA fails, Guy Kawasaki and real estate in SF - find out about all three by ...
Elżbieta Bednarek
•
1.2K views
mongoDB at Visibiz
Mike Brocious
•
1.8K views
[DevCrowd] GraphQL - gdy API RESTowe to za mało
MarcinStachniuk
•
165 views
Advertisement
More from Nikolas Burk
(7)
Next-generation API Development with GraphQL and Prisma
Nikolas Burk
•
497 views
Code-first GraphQL Server Development with Prisma
Nikolas Burk
•
871 views
GraphQL & Prisma from Scratch
Nikolas Burk
•
675 views
Managing GraphQL servers with AWS Fargate & Prisma Cloud
Nikolas Burk
•
832 views
The GraphQL Ecosystem in 2018
Nikolas Burk
•
1.9K views
State Management & Unidirectional Data Flow
Nikolas Burk
•
907 views
Getting Started with Relay Modern
Nikolas Burk
•
1K views
Recently uploaded
(20)
Business WhatsApp by Mcarbon
Mcarbon Tech Innovation Pvt Ltd
•
3 views
lecture 6 DES part1.pdf
ssuser6c54131
•
2 views
如何办理一份高仿长岛大学毕业证成绩单?
aazepp
•
3 views
Ramp up your testing solution, ExpoQA 2023
Gáspár Nagy
•
5 views
Project Workflow Management Ultimate Guide
Kashish Trivedi
•
3 views
【本科生、研究生】美国阿拉斯加大学毕业证文凭购买指南
sutseu
•
0 views
Optimize Your Inventory, Boost Your Sales with SAP F&R.docx
BeyzaPehlivan3
•
7 views
Laravel.pptx
KaustubhBhandari6
•
0 views
【本科生、研究生】加拿大温尼伯技术学院毕业证文凭购买指南
sutseu
•
0 views
Finding your Receipt on FB
Silver Caprice
•
23 views
software companies in oamn muscat.pdf
WideSolutions
•
3 views
A leap around AI
Dennis Vroegop
•
7 views
module_1-_5_computer_software.ppt
MufarowasheBingeping
•
2 views
Top 8 Email Alternatives for Effective Business Communication - Slideshare.docx
Yoroflow
•
4 views
Clinic Management System
Geminate Consultancy Services
•
0 views
【本科生、研究生】美国罗格斯大学毕业证文凭购买指南
sutseu
•
0 views
Customized ERP software development
babuprasad38
•
4 views
03_clere_Proxing to tomcat with httpd.pdf
Jean-Frederic Clere
•
4 views
Data Communication-1.ppt
ssusere16bd9
•
2 views
【本科生、研究生】美国威廉玛丽学院毕业证文凭购买指南
sutseu
•
0 views
Advertisement
Building a Realtime Chat with React & GraphQL Subscriptions
Building a Realtime
Chat with React & GraphQL Subscriptions 💬
Nikolas Burk 👋 Developer
at Graphcool $ whoami @nikolasburk
Launch Week 🚀 Product
Hunt > 850 upvotesHacker News #1
Agenda 1. GraphQL Introduction 2.
Realtime with GraphQL Subscriptions 3. DEMO @nikolasburk
What’s GraphQL? • new
API standard • developed & open-sourced by Facebook • declarative way of fetching & updating data @nikolasburk
Schema … defines the
data model type Message { text: String! sentBy: Person } type Person { name: String! messages: [Message!]! } @nikolasburk
Queries … only read
data Message(id: “1”) { text sentBy { name } } { “data”: { “Message”: { “text”: “Hello 😎”, “sentBy”: { “name”: “Sarah” } } } } @nikolasburk
Queries … only read
data Message(id: “1”) { text sentBy { name } } { “data”: { “Message”: { “text”: “Hello 😎”, “sentBy”: { “name”: “Sarah” } } } } @nikolasburk
Queries … only read
data Message(id: “1”) { text sentBy { name } } { “data”: { “Message”: { “text”: “Hello 😎”, “sentBy”: { “name”: “Sarah” } } } } @nikolasburk
Mutations … write and
read data mutation { createMessage(text:“Greetings 👋”) { id } } { “data”: { “createMessage”: { “id”: “3”, } } } @nikolasburk
Mutations … write and
read data mutation { createMessage(text:“Greetings 👋”) { id } } { “data”: { “createMessage”: { “id”: “3”, } } } @nikolasburk
Mutations … write and
read data mutation { createMessage(text:“Greetings 👋”) { id } } { “data”: { “createMessage”: { “id”: “3”, } } } @nikolasburk
GraphQL Subscriptions ⚡ •
event-based realtime updates • clients subscribe to specific events • usually implemented with websockets @nikolasburk
Let’s play …with GraphQL
Playgrounds ▷
Frontend Apollo Client for
… … networking … caching … subscriptions create-react-app
React Components Chat
React Components ChatMessages
React Components ChatMessage
React Components ChatInput
Community 🙌 • GraphQL
Berlin Meetup • slack.graph.cool (> 2000 members) • GraphQL Weekly & GraphQL Radio
GraphQL-Europe • This Sunday!
(May 21) • Tickets: www.graphql-europe.org
20% discount code “berlinjs”
We’re hiring! www.graph.cool/jobs
Thank you! 🙇 …
any questions?
Advertisement