Getting Started With Server Side Swift
summary
Builds a server with Vapor, using Swift packages or the Vapor toolbox, and demonstrates a Hello World plus a full CRUD backed by Postgres with migrations. Uses async patterns like eventLoopFuture and unwrap/flatMapThrowing, shows database models and HTTP request/response types, and wires up fluid drivers. Shows local testing with Docker, tunneling with ngrok, and deployment options via nginx supervisor or Heroku build packs.
AI-written summary · about
chapters (15)
- 0:00Server-side Swift intro
- 1:27Why learn server-side Swift
- 3:13Key differences for iOS devs
- 5:20Swift Server Work Group libs
- 7:48Vapor framework overview
- 8:09Hello World app
- 11:05First route
- 12:09Parsing JSON
- 13:53CRUD tools
- 16:46PostgreSQL with Fluent
- 18:52Database migrations
- 21:01CRUD with Fluent
- 23:08EventLoop futures
- 27:01Deploying to cloud
- 29:08Summary & next steps
related talks
47mServer Side Swift with Vapor
41mGetting started with Server-Side Swift and Vapor
36mFull stack development with Swift and Vapor
19mServer-side Swift Using Vapor
27mFull Stack Development with Swift and Vapor
05mSwift Superpowers #1
10mServer-Side Swift: Surviving or Thriving?
39mBYOB: Build Your Own (Swift) Backend. Server-Side Swift beyond CloudKit
