Swift on server

Articles about server-side Swift development.
Joannis Orlandos & Tibor Bödecs

Introduction to Swift Service Lifecycle

This article offers practical examples to introduce the Swift Service Lifecycle library.

Templating with Swift-Mustache

Learn how to template emails and web pages with Swift-Mustache.

Useful scripts for server-side Swift libraries

Learn about shell scripts to enforce coding standards and conduct checks for backend Swift projects.

AsyncHTTPClient by example

This article offers practical examples to introduce the Swift AsyncHTTPClient library.

Structured Concurrency and Shared State in Swift

Learn how actors and sendable prevent race conditions in your concurrent code.

Getting Started with Structured Concurrency in Swift

Learn how to apply structured concurrency in your applications, using task groups and other structured concepts.

Using environment variables in Swift

Explore the importance of environment variables in Swift and how to use them.

Using OpenAPI Generator with Hummingbird

Learn how to use OpenAPI Generator to create Swift APIs with Hummingbird.

What's new in Hummingbird 2?

Discover Hummingbird 2: a Swift-based HTTP server framework, with modern concurrency and customizable request contexts.

Building an HTTP client using SwiftNIO

Learn how to build a simple HTTP client using SwiftNIO and structured concurrency.

Logging for server-side Swift apps

Discover how to integrate the Logging library into an application, use various log levels, and tailor the unified logging API for backend projects.

Using SwiftNIO - Channels

Create a TCP server using SwiftNIO and structured concurrency

Using SwiftNIO - Fundamentals

Learn the fundamental concepts of SwiftNIO, such as EventLoops and nonblocking I/O

Developing with Swift in Visual Studio Code

Learn how to set up your Visual Studio Code for Swift development using Docker, Dev Containers and the Swift for VS Code extension.