{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a25082aa-1b98-42c6-a167-593b9965cbf8",
    "slug": "taskflowapi",
    "name": "taskflowapi",
    "description": "Deploy and Host taskflowapi with Railway",
    "url": "https://railway.com/deploy/taskflowapi",
    "upstream": {
      "repo_url": "https://github.com/Rethabile2004/taskflow-api"
    }
  },
  "services": [
    {
      "name": "taskflow-api",
      "source": {
        "repo": "https://github.com/Rethabile2004/taskflow-api"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "JwtSettings__Issuer",
      "service": "taskflow-api",
      "description": "Provide a value for JwtSettings__Issuer.",
      "secret": false,
      "strategy": "default",
      "default": "TaskFlowAPI"
    },
    {
      "key": "JwtSettings__Audience",
      "service": "taskflow-api",
      "description": "Provide a value for JwtSettings__Audience.",
      "secret": false,
      "strategy": "default",
      "default": "TaskFlowAPIUsers"
    },
    {
      "key": "ASPNETCORE_ENVIRONMENT",
      "service": "taskflow-api",
      "description": "Provide a value for ASPNETCORE_ENVIRONMENT.",
      "secret": false,
      "strategy": "default",
      "default": "Production"
    },
    {
      "key": "JwtSettings__SecretKey",
      "service": "taskflow-api",
      "description": "Provide a value for JwtSettings__SecretKey.",
      "secret": true,
      "strategy": "default",
      "default": "ThisIsAVeryLongSecretKeyForTaskFlowAPIThatIsAtLeast32Chars"
    },
    {
      "key": "JwtSettings__ExpiryHours",
      "service": "taskflow-api",
      "description": "Provide a value for JwtSettings__ExpiryHours.",
      "secret": false,
      "strategy": "default",
      "default": "24"
    },
    {
      "key": "ConnectionStrings__DefaultConnection",
      "service": "taskflow-api",
      "description": "Provide a value for ConnectionStrings__DefaultConnection.",
      "secret": false,
      "strategy": "default",
      "default": "Host=localhost;Port=5432;Database=TaskFlowDb;Username=postgres;Password=P@ss040409"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "taskflowapi"
      }
    },
    "cli": "railway deploy --template taskflowapi",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a25082aa-1b98-42c6-a167-593b9965cbf8",
            "serializedConfig": {
              "services": {
                "29925bd9-bff3-491b-b81b-d8a755825a0e": {
                  "name": "taskflow-api",
                  "deploy": {
                    "healthcheckPath": "health"
                  },
                  "source": {
                    "repo": "Rethabile2004/taskflow-api",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "JwtSettings__Issuer": {
                      "defaultValue": "TaskFlowAPI"
                    },
                    "JwtSettings__Audience": {
                      "defaultValue": "TaskFlowAPIUsers"
                    },
                    "ASPNETCORE_ENVIRONMENT": {
                      "defaultValue": "Production"
                    },
                    "JwtSettings__SecretKey": {
                      "defaultValue": "ThisIsAVeryLongSecretKeyForTaskFlowAPIThatIsAtLeast32Chars"
                    },
                    "JwtSettings__ExpiryHours": {
                      "defaultValue": "24"
                    },
                    "ConnectionStrings__DefaultConnection": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "Host=localhost;Port=5432;Database=TaskFlowDb;Username=postgres;Password=P@ss040409"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-20T10:24:47.744Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_b8fa32cf1524433faf42",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
