page:guides:nestjs:build and start

Configure build and start for NestJS

Summary

Build and start for a NestJS app on Ample. Verified on NestJS: the app built and started with the documented commands and answered on its public HTTPS URL. Build and start: npm install, nest build (TypeScript) then node dist/main.js on the node-22 template.

Prerequisites

Workflow Steps

1. Build and start

npm install, nest build (TypeScript) then node dist/main.js on the node-22 template; the server must bind 0.0.0.0 on PORT.

2. Deploy

Run the synchronous deploy once and read the result.
Command:
ample deploy . --name --public

3. Verify

Fetch the live URL on the example; on failure read the build and runtime logs.
Command:
ample logs --kind build

Tested Configuration

Examples

NestJS pattern fixture

Description: Verified build and start on NestJS.
Source Ref: tests/deploy-canaries/nestjs-patterns

Success Checks

Limitations

Cost Estimate

Infrastructure Requirements

Evidence Summary

Next Actions