G E T S T R E A M . I O
Building a Vapor Swift
backend integration
with authentication and authorization
Slide 2
Slide 2 text
G E T S T R E A M . I O
Building a Vapor Swift
backend integration
with authentication and authorization
Slide 3
Slide 3 text
G E T S T R E A M . I O
Jeroen Leenarts
• Developer Relations Manager:
Developer Experience
• Podcast: AppForce1
• Book: Being a Lead Developer
• Over 20 years of experience
Slide 4
Slide 4 text
G E T S T R E A M . I O
Slide 5
Slide 5 text
G E T S T R E A M . I O
Why talk about Building
a Vapor Swift backend
integration?
Slide 6
Slide 6 text
G E T S T R E A M . I O
Stream Chat
• The #1 Chat API for Custom Messaging Apps.
• Add fast, real-time messaging to your application
in days
• Free trial available, no credit card required
.N
ET
SD
K
too
Slide 7
Slide 7 text
G E T S T R E A M . I O
Trusted by many companies
Slide 8
Slide 8 text
G E T S T R E A M . I O
Building a Vapor Swift
backend integration
with authentication and authorization
Slide 9
Slide 9 text
G E T S T R E A M . I O
• Web framework for Swift, written in Swift
• For example:
• Backends
• Web apps
• APIs
• HTTP servers in Swift.
What is Vapor Swift?
Slide 10
Slide 10 text
G E T S T R E A M . I O
• Version 1.0
-
September 2016
• Version 2.0
-
May 2017
• Version 3.0
-
May 2018
• Version 4.0
-
April 2020
What is Vapor Swift?
Slide 11
Slide 11 text
G E T S T R E A M . I O
• Small footprint
• Memory and CPU efficient
• Quick start-up time
• No JIT
• Hardly any warm-up
• No GC but Arc
• Deterministic performance
• Full stack Swift
Why Vapor Swift?
Slide 12
Slide 12 text
G E T S T R E A M . I O
• A Vapor Swift backend
• Integrated with:
• Google
• Github
•
(
Sign-in with Apple)
• Stream
So what are we building?
Slide 13
Slide 13 text
G E T S T R E A M . I O
• A Vapor Swift project
• A database
• Several Swift packages
• An account with:
• Google / Github /Apple and Stream
What components do we need?
Slide 14
Slide 14 text
G E T S T R E A M . I O
Let’s get started
https://webauthn.io/
Slide 15
Slide 15 text
G E T S T R E A M . I O
Wrap-up
https://webauthn.io/
Slide 16
Slide 16 text
G E T S T R E A M . I O
Questions?
Slide 17
Slide 17 text
G E T S T R E A M . I O
Thank You.
Slide 18
Slide 18 text
G E T S T R E A M . I O
All info:
http://appforce1.net/360idev
Blog post (by Tim Condon):
https://getstream.io/blog/vapor-swift-stream-server/
More info here