Ask HN: How to setup own server hosting a service with API (and no front end)?
An HTTP API is just a different kind of website; it serves machine-readable content instead of human-readable content, but other than that it&#x27;s still an HTTP service and most resources for webservers would apply.<p>&gt; It also requires Mac computers with M1, running Monterey.<p>Does the operation requiring macOS needs to be synchronous &amp; instant or can it be asynchronous and respond within a few seconds&#x2F;minutes?<p>I&#x27;d highly suggest decoupling the Mac-related part of the API into an asynchronous task, that way the actual API servers can be inexpensive Linux servers.