{
  "manifest_version": "1.0.0",
  "template": {
    "id": "668d9011-9bdf-4903-8423-02ed0fb1690d",
    "slug": "xata-postgresql-nodejs-drizzle",
    "name": "Xata PostgreSQL + Node.js + Drizzle",
    "description": "Deploy and Host Xata PostgreSQL + Node.js + Drizzle with Railway",
    "url": "https://railway.com/deploy/xata-postgresql-nodejs-drizzle",
    "upstream": {
      "repo_url": "https://github.com/xataio/railway-nodejs-drizzle-xata"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Node.js with Xata",
      "source": {
        "repo": "https://github.com/xataio/railway-nodejs-drizzle-xata"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DATABASE_URL",
      "service": "Node.js with Xata",
      "description": "The PostgreSQL connection string. Copy it from the Xata console.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "xata-postgresql-nodejs-drizzle"
      }
    },
    "cli": "railway deploy --template xata-postgresql-nodejs-drizzle",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "668d9011-9bdf-4903-8423-02ed0fb1690d",
            "serializedConfig": {
              "services": {
                "661cf761-f3e7-4468-99ee-84b316f9ce38": {
                  "icon": "https://xata.io/images/xata-brand-assets/logo-symbol/logo-square.svg",
                  "name": "Node.js with Xata",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/xataio/railway-nodejs-drizzle-xata",
                    "rootDirectory": null
                  },
                  "variables": {
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "The PostgreSQL connection string. Copy it from the Xata console.",
                      "defaultValue": "{{DATABASE_URL}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T04:14:38.010Z",
  "generator_version": "0.1.0"
}
