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 20Minimal Express server with /healthz and a JSON endpoint.
- Express
- Helmet
- /healthz
port 3000Download zip
Node HTTP Server
Node 20Zero-dependency Node http server. The simplest deploy you can do.
- http
- no deps
- /healthz
port 3000Download zip
Static Site
staticPlain HTML/CSS/JS — no build step. Edit and re-deploy.
- HTML
- CSS
- no build
port 80Download zip
WordPress
PHP 8.2WordPress with PHP-FPM. Note: requires the legacy cPanel plan tier.
- WordPress
- PHP-FPM
- MySQL
port 80Download zip
How to deploy a sample
- Download the zip from the card above.
- Mint an API token at /dashboard/api-keys.
- Run:
hostking deploy ./sample.zip - 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.