Back to simulator RESOURCE

Render Deployment

How this C-backed Node app runs on Render without a manually managed VM.

Service Type

Select Web Service. Static hosting will not work because the browser app needs a Node server that spawns the compiled C binary.

Render Settings

SettingValue Repositorynilaycarleton/Ghost_Hunter_Simulation Branchmain RuntimeNode Build Commandnpm run build Start Commandnpm start Health Check/api/health

Environment

Use Render's environment UI for secrets. Do not commit real Clerk keys.

NODE_ENV=production
HOST=0.0.0.0
PORT=10000
DATABASE_PATH=data/haunted-threads.db
AI_PROVIDER=template

Custom Domain

Add hauntedthreads.site and www.hauntedthreads.site in Render custom domains. Then replace the Namecheap parking and redirect records with the exact DNS records Render provides.

Storage Note

Render Free is good for a project demo. Durable run history requires a paid disk, a volume-based host, or an external database.