Swiftpack.co - Package - IBM-Swift/Kitura-Sample

Kitura

macOS Linux Apache 2 Join the chat at https://gitter.im/IBM-Swift/Kitura

Sample application for Kitura Web Framework

Summary

This is a sample Kitura application. See instructions for installing on macOS or Linux.

Clone, build and run

  1. git clone https://github.com/IBM-Swift/Kitura-Sample.git && cd Kitura-Sample

Note: do not use the GitHub "Download ZIP" button

  1. swift build

  2. ./.build/debug/Kitura-Sample

You should see message Listening on port 8080.

  1. Open your browser at http://localhost:8080

Testing

swift test

Running in Xcode

You can also run this sample application inside Xcode. For more details, visit the Kitura wiki.

License

This sample app is licensed under the Apache License, Version 2.0.