Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Chat app with React, Auth0, and Pusher Chatkit
Search
Zan Markan
December 04, 2018
Programming
400
0
Share
Chat app with React, Auth0, and Pusher Chatkit
Used in a webinar at the Auth0 Online Meetup
Zan Markan
December 04, 2018
More Decks by Zan Markan
See All by Zan Markan
High-Performing Engineering Teams and the Holy Grail
zmarkan
0
98
A Practical Introduction to CI/CD
zmarkan
0
46
The Need for Speed - Practical Tips for Optimising your CI/CD Pipeline
zmarkan
0
81
State of Kotlin - Droidcon NYC
zmarkan
1
110
State of Kotlin - Droidcon Berlin 2018
zmarkan
1
170
Building DSLs in Kotlin for Fun and Profit
zmarkan
2
590
Push Notifications That Don't Suck
zmarkan
3
460
The State of Kotlin
zmarkan
0
200
10-ish Things about Android Library Development
zmarkan
0
130
Other Decks in Programming
See All in Programming
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
330
Rethinking API Platform Filters
vinceamstoutz
0
11k
感情を設計する
ichimichi
5
1.3k
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
310
アーキテクチャモダナイゼーションとは何か
nwiizo
17
4.5k
AI活用のコスパを最大化する方法
ochtum
0
380
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
130
iOS機能開発のAI環境と起きた変化
ryunakayama
0
170
Running Swift without an OS
kishikawakatsumi
0
370
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
2
120
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
160
의존성 주입과 모듈화
fornewid
0
110
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
680
How STYLIGHT went responsive
nonsquared
100
6k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
Docker and Python
trallard
47
3.8k
Rails Girls Zürich Keynote
gr2m
96
14k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Statistics for Hackers
jakevdp
799
230k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
710
How to build a perfect <img>
jonoalderson
1
5.4k
Technical Leadership for Architectural Decision Making
baasie
3
310
Transcript
CHATKIT & AUTH0 Zan Markan - Pusher
[email protected]
// @zmarkan
Ado Kukic - Auth0
[email protected]
// @kukicado
DEMO 1. Visit: bit.ly/chatkit-auth0-demo 2. Login with Auth0 3. Say
hi! !"!"!"
Pusher Realtime APIs powering your… [ news, chat, ride sharing,
trading, sports, ___ ] …apps
PUSHER pusher.com // @pusher Realtime API infrastructure since 2010 Pusher
Channels started in 2010 - pub/sub over WebSocket 250k developers using our services Powering instant messaging use-cases for years Chatkit - dedicated product for building chat features
CHATKIT • Every app is a chat app in 2018
• Instant messaging API that doesn’t make any assumptions • SDKs for web, iOS, and Android
CHATKIT FEATURES • 1:1 and Group Chat • Message History
• Rich Media Sharing • User Presence • Typing Indicators • Read Receipts ✔✔ • Roles & Permissions • Public & Private rooms • GDPR compliant • Mobile Push (beta) • WebHooks (soon)
❤ AUTH0 FOR USER MGMT Chatkit doesn’t oźfer user authentication,
just permissions Auth0 is preżty good at the whole users part… Post-login rules - Create users - Add user to default room
CHATKIT SITE / SIGNUP DEMO pusher.com/chatkit dash.pusher.com/chatkit docs.pusher.com/chatkit
CODE WALKTHROUGH • SPA in React • Chatkit authoriser in
Node/Express • Vanilla JS rules on Auth0
DIY CHAT APP How to deploy your own chat app
in 7.5 minutes (or 12 steps) All steps described in the readme: github.com/zmarkan/chatkit-sample-client
MORE RESOURCES • Demo repository: github.com/zmarkan/chatkit-sample-client • Chatkit Docs: docs.pusher.com/chatkit
• Auth0 Docs: hżtps://auth0.com/docs • Pusher Tutorials: pusher.com/tutorials?q=chatkit • Pusher Community slack: hżtps://feedback-beta.pusher.com/ • Chat UIs: • github.com/brandonmowat/react-chat-ui (React) • github.com/FaridSafi/react-native-giźted-chat (React Native)
QUESTION TIME!