Skip to content

Render

Render offers free tier hosting for VeloxTS applications.

  1. Connect Render to your GitHub repository
  2. Select “Web Service”
  3. Configure build and start commands

Build Command:

Terminal window
pnpm install && pnpm build && pnpm prisma generate

Start Command:

Terminal window
pnpm prisma migrate deploy && node dist/index.js

Set in Render dashboard:

NODE_ENV=production
DATABASE_URL=your-postgres-url
JWT_SECRET=your-secret
JWT_REFRESH_SECRET=your-refresh-secret
  1. Create a new PostgreSQL database in Render
  2. Copy the Internal Database URL
  3. Set as DATABASE_URL environment variable

Configure health check path: /api/health

For Infrastructure as Code:

services:
- type: web
name: my-velox-app
env: node
buildCommand: pnpm install && pnpm build && pnpm prisma generate
startCommand: pnpm prisma migrate deploy && node dist/index.js
healthCheckPath: /api/health
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
fromDatabase:
name: my-db
property: connectionString