Deploy Node.js on Your Own Server
Deploy any Node.js application — Express, Fastify, Hono, or custom — with automatic HTTPS and managed databases on your own VPS.
Quickstart
From your project root, deploy with your preferred package manager:
npx @temps-sdk/cli up
Temps detects your package.json, installs dependencies, and runs your start script. Your app is live with HTTPS in about 2 minutes.
What Temps Handles Automatically
| Feature | How Temps handles it |
|---|---|
| Build | npm install && npm run build (if build script exists) |
| Start | Runs npm start |
| HTTPS | Let's Encrypt certificate, auto-renewed |
| Port | Reads PORT env var, defaults to 3000 |
| WebSockets | Fully supported via reverse proxy |
| Health checks | HTTP health check on your configured path |
| Preview deployments | Every PR gets its own URL |
Managed Services
Add a PostgreSQL or Redis database from Project → Services → Add Service, or via CLI:
# Add PostgreSQL
bunx @temps-sdk/cli environments vars set DATABASE_URL "postgres://..." -e production
See Deploy with a Database for the full guide.
Environment Variables
bunx @temps-sdk/cli environments vars set NODE_ENV production -e production
bunx @temps-sdk/cli environments vars set DATABASE_URL "postgres://..." -e production