The Adventures and Misadventures of Building a Trivia app with Vapor
summary
A trivia backend for a music quiz is built as a monolithic Vapor API using Vapor + Fluent ORM, serving Leaf templates to a web app and an iOS client; data migrations track schema changes over time; development uses a Swift 5.9 Docker image with Swift 5.9 and local-prod parity testing; deployment moves from Heroku (data loss during price changes) to Fly.io with containerized secrets, basic observability via logs and metrics exists and the app runs in production with some leaderboard gaps to fix.
AI-written summary · about
chapters (7)
- 0:00Introduction to Vapor trivia app
- 2:14Current architecture overview
- 7:56Business logic and routing
- 10:10Adventures in Vapor development
- 15:10Deployment challenges and solutions
- 18:00Observability in production
- 19:03Future improvements and recap
related talks
32mLessons learned from running a SaaS entirely on Swift Vapor
27mFull Stack Development with Swift and Vapor
19mServer-side Swift Using Vapor
47mServer Side Swift with Vapor
41mGetting started with Server-Side Swift and Vapor
31mFrom iOS- to Vapor developer
39mBYOB: Build Your Own (Swift) Backend. Server-Side Swift beyond CloudKit
31mGetting Started With Server Side Swift
