page-brochureware.php

Build powerful, fast and secure server-side Swift apps for the Cloud

  • close
  • minimize
  • expand
// My first Server-Side Swift app!
import Kitura

let router = Router()
router.get("/") {
     request, response, next in
     response.send("Hello, Server-Side Swift")
     next()
}
Kitura.addHTTPServer(onPort: 8080, with: router)
Kitura.run()

With server-side Swift you build apps that integrate with…

IBM Watson IBM Bluemix IBM Cloudant IBM OpenWhisk IBM Blockchain IBM Object Storage

MySQL Postgres Docker Cloud Foundry Redis Heroku AWS

Quick Start Guide

For macOS:

Install Xcode 8 from Apple

For Linux:

Kitura is tested on Ubuntu 14.04 LTS, Ubuntu 15.10, and Ubuntu 16.04 LTS

Install the following Linux system packages

$ sudo apt-get update
$ sudo apt-get install clang libicu-dev libcurl4-openssl-dev libssl-dev

Download a Swift 3.1.1 toolchain from swift.org

After extracting the .tar.gz file, update your PATH environment variable so that it includes the extracted tools:

$ export PATH=path-to-uncompressed-tar-contents/usr/bin:$PATH

Featured Resources

Demo

Full-Stack Swift in 30 Minutes

Online Learning

Free Server-Side Swift Course: Running Swift in the Cloud

Online Learning

Mastering Server-Side Swift with Kitura

Developer Journey

Build and deploy an enterprise Swift application

Recent Posts

Application Metrics for Swift is now available for Swift 4.0.0

Good news! Application Metrics for Swift version 1.2.3 now supports Swift 4! It seemed at first glance that all Swift 3.1 products would work out of the box on Swift 4 due to its language backwards compatibility, however when I began initial testing, Application Metrics for Swift did not compile on Swift 4 snapshots. It...

Continue reading Application Metrics for Swift is now available for Swift 4.0.0

Join the Conversation

Get in Touch