I built an event-driven serverless back end entirely in Swift that remotely flashes the Philips Hue bulbs in my house whenever my favorite sports teams score or win. It runs on AWS services including Lambda, DynamoDB, SQS, and EventBridge, and costs less than $0.20/month. It was a great use case for learning about Swift on Lambda.
You can view the full source code for this project on GitHub.
The Infrastructure as Code config and deployment is all handled by Swift Cloud. Fantastic tool.
You can read my blog post about this, which gets into the technical weeds, here. I had a blast working on the project and writing the post. The @SwiftLang account even picked it up on X, Bluesky, and Mastodon!
Interested in your feedback! I haven't seen much content out there about serverless Swift, and I think the language fits really well in that environment. Hopefully the ecosystem around this continues to grow. I had so much fun with it.