{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3d2d8c96-b34a-460e-a5ba-35d4de98ea0f",
    "slug": "nodejs-web-api-starter",
    "name": "Node.js Web API Starter",
    "description": "Node.js app with an automatic HTTPS domain and pinned source commit.",
    "url": "https://railway.com/deploy/nodejs-web-api-starter",
    "upstream": {
      "repo_url": "https://github.com/alphasecio/nodejs"
    }
  },
  "services": [
    {
      "name": "nodejs",
      "source": {
        "repo": "https://github.com/alphasecio/nodejs"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "nodejs",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "nodejs-web-api-starter"
      }
    },
    "cli": "railway deploy --template nodejs-web-api-starter",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3d2d8c96-b34a-460e-a5ba-35d4de98ea0f",
            "serializedConfig": {
              "services": {
                "56f74aa7-33d9-58dc-b58e-f5d7fbeb70bc": {
                  "name": "nodejs",
                  "build": {},
                  "deploy": {
                    "restartPolicyType": "ALWAYS"
                  },
                  "source": {
                    "repo": "alphasecio/nodejs",
                    "branch": "main",
                    "commitSha": "53f4bec6d01beeb129df76fbd9d66f72ab8a9a9b"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "defaultValue": "3000"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-10-18T10:14:45.913Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-18T09:09:10.494Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_8c43def016244cd59ae1",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 92,
    "typical_build_seconds": 20,
    "typical_start_seconds": 10,
    "slowest_service": "nodejs"
  }
}
