kylef-archive / Frank-example

Example Swift web application using the Frank web framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello World

This is a simple Swift Hello World website using the Frank web framework.

Usage

$ swift build --configuration release
$ ./.build/release/Hello
Listening on 0.0.0.0:8000

Deployment

This example can be deployed to Heroku using the heroku-buildpack-swift.

Click the button below to automatically set up this example to run on your own Heroku account.

Deploy to Heroku

Options

$ ./.build/release/Hello --help
Usage:

    $ ./.build/release/Hello

Options:
    --bind
    --workers
$ ./.build/release/Hello --bind 127.0.0.1:8080

About

Example Swift web application using the Frank web framework

License:BSD 2-Clause "Simplified" License


Languages

Language:Swift 100.0%