Genezio

Deploy Nitro apps to Genezio.

Preset: genezio

Read more in Genezio.

Warning

This preset is currently experimental.

#1. Project setup

Create a genezio.yaml file:

# The name of the project.
name: nitro-app
# The version of the Genezio YAML configuration to parse.
yamlVersion: 2
backend:
  # The root directory of the backend.
  path: .output/
  # Information about the backend's programming language.
  language:
      # The name of the programming language.
      name: js
      # The package manager used by the backend.
      packageManager: npm
  # Information about the backend's functions.
  functions:
      # The name (label) of the function.
      - name: nitroServer
      # The path to the function's code.
        path: server/
        # The name of the function handler
        handler: handler
        # The entry point for the function.
        entry: index.mjs
Read more in genezio.com/docs/project-structure/genezio-configuration-file/.

#2. Deploy your project

Build with the genezio preset:

NITRO_PRESET=genezio npm run build

Deploy with the genezio CLI:

npx genezio deploy
Read more in Backend Environment Variables.

#3. Monitor your project

You can monitor and manage your application through the Genezio App Dashboard. The dashboard URL, also printed after deployment, gives you access to your project's status and logs.

Nitro  builds full-stack servers that deploy anywhere.