Slimane is an express inspired web framework for Swift that works on OSX and Ubuntu.
- 100% Asynchronous
- Unopinionated and Minimalist
- Incredible Performance
Getting ready
Various types of libraries are available from here.
https://github.com/slimane-swift
The entire Slimane code base is licensed under MIT. By contributing to Slimane you are contributing to an open and engaged community of brilliant Swift programmers. Join us on Slack to get to know us!
Starting the application takes slight lines.
import Slimane
let app = Slimane()
app.use(.get, "/") { request, response, responder in
var response = response
response.text("Welcome to Slimane!")
responder(.respond(response))
}
try! app.listen()
Slimane is released under the MIT license. See LICENSE for details.