Slack icon GitHub icon Swift Forum icon

Programming Guides

Learn how to use Kitura features with our handy step-by-step guides

Example Kitura Project

Check out the Kitura Sample project, which includes code examples of Kitura and IBM Swift features.

Example Screens

Open in IBM Cloud

Adding Routing and Requests

Codable Routing

Learn how to use Codable routing to build REST APIs.

Parsing Requests

Learn how to parse query and URL parameters and also JSON requests.

Special Types of Response Handlers

Learn how to define response handlers for complex routes.

Writing Custom Paths

Learn how to define routes using custom paths, including parameters for complex routes.

Serving Static Content

Learn how to serve static content, such as a static website.


Adding Authentication with Kitura-Credentials

Learn how to add intergration with Facebook OAuth authentication.

Adding Sessions with Kitura-Session

Learn how to save user data with a session plugin.

Enabling SSL/TLS on Kitura

Learn how to enable SSL and TLS on Kitura to enhance the security of your application.

Monitoring and Diagnostics

Adding Monitoring with Application Metrics for Swift

Learn how to add monitoring with Application Metrics for Swift (Swift Metrics) to visualise throughput and performance.


Building for Linux using macOS

Learn how to build your Kitura application in a Linux container on macOS.

Building within Xcode

Learn how to build Kitura applications inside Xcode.

Other Topics

Using Templating Engines with Kitura

This guide shows you how to use popular templating engines such as Mustache and Stencil in Kitura.

Using FastCGI with Kitura (Linux only)

Kitura on Linux supports FastCGI 1.0 and has been tested with both Nginx and Apache.