Code Monkey home page Code Monkey logo

get-started-swift's Introduction

Build Status - Master macOS Linux

Getting started with Swift on IBM Cloud

The Getting Started tutorial for Swift uses this sample application to provide you with a sample workflow for working with any Swift app; you set up a development environment, deploy an app locally and on the cloud, and then integrate an IBM Cloud database service in your app.

The Swift app uses the Kitura Web Framework and a Cloudant NoSQL DB to illustrate how to store information in a database and then return information from a database to the UI. To learn more about how the app connects to Cloudant, see the Kitura CouchDB Library.

Alternatively, this app can connect to a MongoDB service. As described, this functionality requires the libressl, which is needed when running the application locally on macOS, even if using Cloudant. Install it with brew install libressl.

Gif of the sample app contains a title that says, Welcome, a prompt asking the user to enter their name, and a list of the database contents which are the names Joe, Jane, and Bob. The user enters the name, Mary and the screen refreshes to display, Hello, Mary, I've added you to the database. The database contents listed are now Mary, Joe, Jane, and Bob.

The following steps are the general procedure to set up and deploy your app to IBM Cloud. See more detailed instructions in the Getting started tutorial for Swift.

Before you begin

You'll need a IBM Cloud account, Git, IBM Cloud CLI, and Swift installed.

get-started-swift's People

Contributors

atrieder avatar gee4vee avatar kevin-ortega avatar lesliechau avatar ntriplea avatar opiethehokie avatar rolivieri avatar rvennam avatar rvennam987 avatar shihabmehboob avatar zzdrt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

get-started-swift's Issues

Could not persist document to database

OUT [2017-02-23T18:29:42.393Z] [ERROR] [main.swift:116 kitura_helloworld] >> Could not persist document to database.

With the database connected I am seeing this error with GetStartedSwift running on bluemix

Download Progress Info

How can we get the download progress info from Cloudant database while syncing or replication? As per my r&d, the delegate method doesn't give accurate results.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.