I am not quite sure if this work - so that why I am asking this question:
I have a macOS app based on Swift that is used as a specialized CRM application. My client wants to use the app on different machines but the data should be fetched from one Mac. My consideration was to use one app as "server" and the other apps as clients connecting to this server.
Cheers
Sas
Yes. Vapor runs correctly on macOS. There is nothing to stop you 'embedding' Vapor inside another Mac app.
Possible points of concern:
you will need to use the Swift package manager to install Vapor and its packages.
there are other, existing, light weight HTTP servers such as Swifter that may better fit your needs.
But yes, you can use Vapor if you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With