Build powerful, fast and secure server-side Swift apps for the Cloud
// 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()
For macOS:
Install Xcode 8 from AppleFor 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
Full-Stack Swift in 30 Minutes
Free Server-Side Swift Course: Running Swift in the Cloud
Mastering Server-Side Swift with Kitura
Build and deploy an enterprise Swift application
Recent Posts
We heard your feedback and are deprecating our less used repos. This will allow us to better maintain and improve our more used repos. This will require increased efforts as we plan on supporting Swift 3.1.1 and Swift 4.0. Swift 4.0 is expected to release in the coming weeks. Much thought was put into deciding...
We’re excited to be the platinum sponsor at try! Swift NY 2017. It’s always a great time getting together with Swift developers to talk everything Swift, including the latest in Server Side, and full stack development. We would love to connect around Swift, Mobile, AI, IoT, and other great topics so be sure to drop...
Introduction Swift on z (available on z/OS and LinuxOne) is a fast, safe, and modern programming language. Swift ships with a wide variety of modules and packages such as SwiftCore, Foundation, Lib-dispatch, IBM Kitura and more. These libraries provide methods for File Handling, Networking, JSON parsing, and much more. Although these libraries are very useful,...
Continue reading Swift on z/OS and Linux on Z – Interoperability with C, C++, PL/I, and ASM