Deployment guide

How to deploy a Node.js app from GitHub

Prepare a Node.js repository, connect it to Deploy Hatch, deploy it, and verify the running application from the dashboard.

Free beta · one project · no credit card required

GitHub to running workload.

A short path from source code to something you can operate.

Connect GitHub

Sign in, connect your GitHub account, and choose the repository you want to run.

Configure and deploy

Deploy Hatch detects common runtime settings and gives you control over build, start, revision, and environment configuration.

Keep it running

Watch deployment and application logs, then restart, stop, redeploy, or open public web workloads from the dashboard.

1. Make the app reproducible

Your repository should declare its dependencies and provide the commands needed to build and start the application from a clean checkout.

2. Connect the repository

Create a Deploy Hatch project from your GitHub repository. Review the detected runtime, build command, and start command and adjust project settings when your application needs explicit configuration.

3. Configure environment

Add required runtime values through Deploy Hatch environment variables. Do not commit credentials or secrets to the repository.

4. Deploy

Start the deployment and follow the logs. Deploy Hatch builds the application and starts the runtime in a container.

5. Open public web apps

When a supported web workload is running with public ingress, use the Open App action to visit its HTTPS apps.deployhatch.com URL.

Put a real workload through it.

Connect GitHub, deploy, and see whether the workflow fits your project.

Deploy for free