Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 661 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 661 Bytes

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!