This code is based on the Hummingbird framework.
It is a lightweight, flexible server framework written in Swift. Hummingbird consists of three main components, the core HTTP server, a minimal web application framework and the extension modules.
You can find the tutorial here.
After cloning the repo, you can run the server: swift run parkAPI
.