Deploy NestJS in minutes

NestJS compiles to plain Node, so it deploys on Darmi Cloud with the Node.js preset: build with the Nest CLI, start the compiled server, and your API is live behind automatic HTTPS with live logs.

Deploy from GitHub Automatic HTTPS subdomain Live build & runtime logs
Step by step

How to deploy NestJS

Darmi Cloud has a dedicated Node.js / Express preset, so there is no configuration to write.

  1. 1

    Sign in with GitHub

    Open darmicloud.tech and sign in with GitHub (or Google). On first sign-in you grant read access so the deploy worker can clone your repositories.

  2. 2

    Import your repository

    Click New Project, pick your NestJS repository, and choose the branch to deploy — the default branch is preselected.

  3. 3

    Select the Node.js / Express preset

    Choose the Node.js / Express preset. The commands are prefilled (build: npm run build, start: npm run start:prod) — adjust them only if your project differs.

  4. 4

    Add environment variables

    Add any environment variables your app needs (database URLs, API keys, secrets). Mark sensitive values as secrets — they are injected into the container and hidden in the UI afterwards.

  5. 5

    Deploy and watch it go live

    Click Deploy. Watch the live build and runtime logs, and your app goes live on an automatic HTTPS subdomain. Every push to your branch redeploys automatically.

Preset defaults

Preset
Node.js / Express
Container port
3000
Build command
npm run build
Start command
npm run start:prod

Tips for NestJS on Darmi Cloud

  • Set the start command to npm run start:prod so the compiled dist/main.js runs instead of the dev watcher.
  • In main.ts, listen with await app.listen(process.env.PORT ?? 3000, '0.0.0.0') so the container is reachable.
  • Microservices and queues (e.g. BullMQ with Redis) work — the app runs as a persistent process, not a serverless function.
FAQ

NestJS deployment FAQ

How do I run NestJS in production mode?

Build with npm run build and start with npm run start:prod, which runs the compiled output in dist/. Set these as the build and start commands.

Do WebSockets and GraphQL subscriptions work?

Yes. Your Nest app runs as a long-lived container behind Traefik, so persistent connections work without serverless timeouts.

Can I use my own custom domain?

Yes. Connect an existing domain or buy one inside Darmi Cloud. DNS is configured automatically and every domain gets free SSL via Let's Encrypt.

Is there a free plan?

Yes. The Free plan deploys one project on an automatic HTTPS subdomain with auto-deploy on every push. Paid plans add custom domains, PR preview deployments and more projects.

Deploy other frameworks

Ready to deploy your NestJS app?

Connect GitHub and ship in minutes — on a free HTTPS subdomain, or on your own custom domain.

Deploy NestJS now