Server Side Swift with Vapor
summary
Builds a working API server in Swift using Vapor and the Vapor CLI, shows creating a project with Xcode 9 and Homebrew, and pulls dependencies with Swift Package Manager. Implements a Person model, registers migrations, and uses in-memory SQLite for quick testing. Demonstrates GET/POST/PUT endpoints that return 200 and persist to memory, notes the data resets on restart. Claims setup takes about a minute to scaffold and the demo actually runs locally using the provided vapor commands.
AI-written summary · about
chapters (8)
- 0:00Intro
- 6:49Installing Vapor
- 9:27Vapor Build
- 18:09Building a REST API
- 21:28Setting up a database
- 27:59Setting up methods
- 31:24Post method
- 44:42Update person
related talks
31mGetting Started With Server Side Swift
41mGetting started with Server-Side Swift and Vapor
27mFull Stack Development with Swift and Vapor
19mServer-side Swift Using Vapor
10mServer-Side Swift: Surviving or Thriving?
39mBYOB: Build Your Own (Swift) Backend. Server-Side Swift beyond CloudKit
34mServer Side Swift
41mServer-Side Swift State of the Union
