Deploy a Node Express App

You can deploy a Node Express application on Render in just a few clicks.

A sample app for this quick start is deployed at

  1. Fork express-hello-world on GitHub.
  2. Create a new Web Service on Render, and give Render permission to access your new repo.
  3. Use the following values during creation:

    Build Commandyarn
    Start Commandnode app.js

That’s it! Your web service will be live on your Render URL as soon as the build finishes.

A note on Node versions

By default, Render uses the latest LTS version of Node. But you can customize the version used for your app in one of two ways:

  • Add a file called .node-version at the root of your repo. This file should contain a single line containing the full semantic Node version you’d like to use.

    Your .node-version should look like this:

  • Alternatively, you can specify a Node version in the engines directive in your package.json. This can be an exact version like 10.17.0 or a range like >=10.11 <10.18.

    This is the relevant snippet from a sample package.json:

      "engines": {
        "node": ">=12 <13"