In the stackql project we needed an API to serve configuration file packages (stackql providers) to the stackql application at runtime.
Traditional artifact repositories or package managers were unsuitable as they were mainly designed for container images, JavaScript modules, Python packages etc. The artifacts, in this case, are signed tarball sets of OpenAPI specification documents (text files).
We have recently moved our provider registry (stackql-provider-registry) to use Deno Deploy as the serving layer (the API).
The codeโ
The code is reasonably straightforward as shown here:
The deploymentโ
We are using GitHub Actions to push assets and code to Deno Deploy, this was straightforward as well as you can see here:
if you have enjoyed this post, please consider buying me a coffee โ to help me keep writing!