Run Node.js server and deploy to Render
Be sure to set a Node.js version in a format Render.com understands and set it to Node >=v24.
To deploy your dynamically rendered Mastro app to Render using Node.js, go to your Render dashboard and select New > Web Service, and connect with your GitHub repository.
Set the following settings:
Build command
pnpm install
Copied!
Start command
node server.ts
Copied!
Congratulations! Pushing to GitHub should now deploy your server to Render.