Skip to content

Quickstart

You can deploy from the console editor or from a project folder with the dockhive CLI. TypeScript, JavaScript and Python work in both; Go and Rust deploy from the CLI.

In the console, open Hive Functions and click New function. Give it a name, pick a Language and the Region closest to your users, and create it.

The function page shows its URL, for example https://orders-k3x9.fn.dockhive.app. DockHive adds a short suffix to the name you chose so every URL is unique.

The Code card opens with a starter handler that echoes the request, counts visits in storage and shows how to call another API. Change it, then click Deploy.

DockHive builds the code and switches to the new version when the build succeeds. If the build fails, the Build log opens with the error and the running version stays as it was.

In the Test card, click Run to call the deployed version once. Leave Function empty to call handler with a sample web request, or name another exported function (such as scheduled) and give it your own Input. The response shows the status, the time it took and the result.

Terminal window
curl https://orders-k3x9.fn.dockhive.app/hello?name=Ada

Any method and any path reach your handler; it reads them from the request it receives.

Logs shows every request (status and duration), anything your code logs, schedule runs, builds and errors.

The console’s Versions list keeps your last 10 deployed versions. Click Roll back to this on any of them to make it live again instantly; nothing is rebuilt.