Skip to main content

Requirements

Project Structure

Configuration

package.json

vertracloud.config

Complete Example

Use host: '0.0.0.0' in fastify.listen(). Fastify by default listens only on localhost, preventing external connections inside the container.

Deploy

  1. Exclude node_modules from the project
  2. Compress into ZIP or connect via GitHub
  3. Select Node.js as language
  4. Configure memory (256MB for simple APIs, 512MB+ for heavy processing APIs)
  5. Click “Create Application”

Available Versions

Differences from Express

Notes

  • Fastify has built-in schema validation — use it to ensure request integrity
  • For TypeScript, compile to JavaScript before deployment
  • The built-in logger from Fastify appears in dashboard real-time logs
  • Enable auto-restart for production applications