// The Swift Programming Language // https://docs.swift.org/swift-book import Kitura let router = Router() router.get("/") { request, response, next in response.send("Hello world!") next() } Kitura.addHTTPServer(onPort: 5000, with: router) Kitura.run()