Developing Full Stack Cross-Platform Metrics System with Swift
summary
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
chapters (17)
- 0:00Intro
- 1:30What we’ll build today?
- 3:21Why Swift though?
- 4:42How to create a Swift Package
- 6:38Using Vapor
- 7:51Modelling data (migrations)
- 10:48Defining the routes
- 13:51Finally… Configure
- 14:41The run target
- 16:22The metric dashboard (creating a template)
- 18:48Vapor RESOURCE
- 19:19GitHub Actions Metrics
- 24:06Creating a workflow
- 25:59GitHub Actions workflow RESOURCE
- 26:42Xcode Cloud metrics
- 30:16Let’s deploy the LAMBDA
- 33:14WRAP UP
related talks
25mXCMetrics - The All-In-One Solution to Track Xcode Build Metrics
27mFull Stack Development with Swift and Vapor
27mBuilding the Server-side Swift ecosystem
36mFull stack development with Swift and Vapor
32mLessons learned from running a SaaS entirely on Swift Vapor
37mHow does Server Side Swift Workout in the Real World?
39mFull Stack Swift Development
35mSwift Workshop
