swiftx is a web framework written in Swift 3 aiming for simplicity and performance.
- It runs on
Ubuntu
,macOS
andiOS
. - Zero external dependencies.
$ git clone [email protected]:glock45/swiftX.git
$ cd swiftX
$ echo 'hello_world(port: 8080) { ๐($0, "hello") }' > ./src/main.swift
$ swift build
$ .build/debug/swiftX
...visit http://127.0.0.1:8080/
Deploy
# ./deploy_to_amazon_ec2 <address> <port> <private key>
$ ./deploy_to_amazon_ec2 [email protected] 8080 my_key.pem
๐ Roadmap: Tests. Docker.