~/talk

Developing Full Stack Cross-Platform Metrics System with Swift

Talkat Swift Heroes 2023 · 2023-05-04..05-05· [serverless, swift]
slides:none on file

Rebuilds a BBC-style metrics stack entirely in Swift: a Swift CLI with ArgumentParser pulls GitHub Actions run data, a Vapor backend + Leaf dashboard stores and plots durations and outcomes in Postgres via Fluent, and an AWS Swift Lambda via Swift package archive plugin accepts Xcode Cloud webhooks. The repo is a single Swift Package with multiple executables, uses structured concurrency, shows live GitHub-triggered updates, and demonstrates successful end-to-end deployment and real-time metrics.

AI-written summary · about

  1. 0:00Intro
  2. 1:30What we’ll build today?
  3. 3:21Why Swift though?
  4. 4:42How to create a Swift Package
  5. 6:38Using Vapor
  6. 7:51Modelling data (migrations)
  7. 10:48Defining the routes
  8. 13:51Finally… Configure
  9. 14:41The run target
  10. 16:22The metric dashboard (creating a template)
  11. 18:48Vapor RESOURCE
  12. 19:19GitHub Actions Metrics
  13. 24:06Creating a workflow
  14. 25:59GitHub Actions workflow RESOURCE
  15. 26:42Xcode Cloud metrics
  16. 30:16Let’s deploy the LAMBDA
  17. 33:14WRAP UP
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.