Swiftpack.co - Package - IBM-Swift/KituraKit

Kitura

Docs Build Status - Master macOS Linux Apache 2 Slack Status

KituraKit - A Kitura v2 Client Library

Kitura is a lightweight web framework for creating complex web routes for web applications.

KituraKit allows developers to use the Swift 4 Codable protocol in their front and back end applications and use the same code on the front and backend.

Usage

Cocoapod Installation

  1. Navigate to the root of your project (where your .xcodeproj directory is)

  2. If you don't already have a podfile, run pod init to create a new podfile in your current directory.

  3. Open the Podfile with your preferred text editer and under the "# Pods for 'your_project_name'>" line add:

pod 'KituraKit'
  1. Install KituraKit by running the command: pod install

  2. As well as installing KituraKit the pod install also creates an Xcode workspace which contains all of your installed pods. So you'll need to open the .xcworkspace (not .xcodeproj) to have access to those pods. This is the default behaviour of Cocoapods.

Examples

To run through a FoodTracker tutorial which covers various components of Kitura, including KituraKit, click here

To try out the sample iOS project for yourself, making use of KituraKit, click here.

Swift version

The 0.0.x releases were tested on macOS and Linux using the Swift 4.0.3 binary. Please note that this is the default version of Swift that is include in Xcode 9.2.

Community

We love to talk server-side Swift and Kitura. Join our Slack to meet the team!

Github

link
Stars: 43
Help us keep the lights on

Releases

0.0.21 - Nov 30, 2018

  • Add support for populating / decoding the body of a RequestError (#30)
  • feat: Add basic, google token and facebook token authentication (#33)

v0.0.20 - Apr 10, 2018

Descriptive error handling additions (#24)

v0.0.19 - Feb 6, 2018

Merge pull request #17 from IBM-Swift/develop

v0.0.18 - Jan 10, 2018

Merge afe7b1d994ab7e112833a8820d7e007c69527aed into 9e69a2243fa9815553ac98b2d2e0316635ce8655

v0.0.17 - Jan 10, 2018

Merge 79aaffdcc0202483fad16c7f102085e3db569c13 into 8ac3c6b8f0f1a2ea81fc058ca6b001814ad84fd6