This is the final sample project of the post Embedding Vapor in a CLI Tool, at SwiftToolkit.dev.
It allows interacting with an executable tool from the browser, sending messages and getting responses.
First, clone this project. Then, in the root directory, use SPM to build and run the executable:
swift runFor more details on how to interact with the executable, check the full post.