Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.06 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.06 KB

Summary

This project consists of a very simple, server-side Swift application based on Kitura that supports an AngularJS client application that loads data from the Kitura backend and displays the data in a browser-based user interface.

The application performs a very simple service of getting and setting timestamps. The service routes are defined in main.swift on the server and can be consumed by any client—iOS or Android applications, web client, etc. In the case of this sample, the timestamp services are consumed via REST calls made from an AngularJS client service.

Clone, build and run the project

  • Install Xcode 8 from Apple
  • Clone the repository
  • $ git clone https://github.com/jkingoliver/Kitura-AngularJS.git
  • Build the application
  • $ cd Kitura-AngularJS
    $ swift build
  • Run the built executable
  • $ ./build/debug/Kitura-AngularJS
  • Open a browser pointing at http://localhost:8090