candostdagdeviren / SwiftBackend

Backend experiments with Kitura and CouchDB in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backend Experiments in Swift

First you need to create a CouchDB database in your local machine.

After that, replace your CouchDB database credentials with current ones in SwiftBackend.swift file.

Don't forget to change dbName parameter at the same file in line 21.

Keep you database open.

To build the project run

swift build

This will build the app and to run the app use

./.build/debug/SwiftBackendApp

or

docker run -p 8090:8090 swiftbackend

to run the tests use command

swift test

That's it!

About

Backend experiments with Kitura and CouchDB in Swift


Languages

Language:Swift 69.3%Language:Shell 30.7%