Samples

Working starter projects. Each is a real zip that deploys to a Pod in under 30 seconds. Use them as a starting point, or as references for how to structure a deployable app.

Express REST API

Node 20

Minimal Express server with /healthz and a JSON endpoint.

  • Express
  • Helmet
  • /healthz
port 3000Download zip

Node HTTP Server

Node 20

Zero-dependency Node http server. The simplest deploy you can do.

  • http
  • no deps
  • /healthz
port 3000Download zip

Static Site

static

Plain HTML/CSS/JS — no build step. Edit and re-deploy.

  • HTML
  • CSS
  • no build

WordPress

PHP 8.2

WordPress with PHP-FPM. Note: requires the legacy cPanel plan tier.

  • WordPress
  • PHP-FPM
  • MySQL

How to deploy a sample

  1. Download the zip from the card above.
  2. Mint an API token at /dashboard/api-keys.
  3. Run: hostking deploy ./sample.zip
  4. Visit the URL printed at the end of the deploy logs.

Or use the dashboard: drop the zip on /dashboard/sites/upload to deploy to an existing site.