{
  "manifest_version": "1.0.0",
  "template": {
    "id": "95213df1-0ac6-4195-a52e-7b49231ddc71",
    "slug": "waitlist-app",
    "name": "Waitlist App",
    "description": "One click coming soon page. Collect emails, brand it, export CSV from admin",
    "url": "https://railway.com/deploy/waitlist-app",
    "upstream": {
      "repo_url": "https://github.com/pagetree/waitlist-app"
    }
  },
  "services": [
    {
      "name": "waitlist-app",
      "source": {
        "repo": "https://github.com/pagetree/waitlist-app"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "CTA_TEXT",
      "service": "waitlist-app",
      "description": "Submit button label.",
      "secret": false,
      "strategy": "default",
      "default": "Join the list"
    },
    {
      "key": "DATA_DIR",
      "service": "waitlist-app",
      "description": "SQLite directory. Must match the volume mount path.",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "HEADLINE",
      "service": "waitlist-app",
      "description": "One short line under the brand.",
      "secret": false,
      "strategy": "default",
      "default": "Something worth waiting for"
    },
    {
      "key": "SITE_NAME",
      "service": "waitlist-app",
      "description": "Brand name shown as the hero on the public page.",
      "secret": false,
      "strategy": "default",
      "default": "Waitlist"
    },
    {
      "key": "SUPPORT_TEXT",
      "service": "waitlist-app",
      "description": "Supporting sentence under the headline.",
      "secret": false,
      "strategy": "default",
      "default": "Leave your email. Be first when we open the doors."
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "waitlist-app",
      "description": "Password for /admin. Generated automatically on deploy.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "waitlist-app"
      }
    },
    "cli": "railway deploy --template waitlist-app",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "95213df1-0ac6-4195-a52e-7b49231ddc71",
            "serializedConfig": {
              "services": {
                "004d1d8e-bcfd-4835-9910-5181fece00b6": {
                  "icon": "https://raw.githubusercontent.com/pagetree/waitlist-app/main/icon.png",
                  "name": "waitlist-app",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "pagetree/waitlist-app"
                  },
                  "variables": {
                    "CTA_TEXT": {
                      "isOptional": true,
                      "description": "Submit button label.",
                      "defaultValue": "Join the list"
                    },
                    "DATA_DIR": {
                      "description": "SQLite directory. Must match the volume mount path.",
                      "defaultValue": "/data"
                    },
                    "HEADLINE": {
                      "isOptional": true,
                      "description": "One short line under the brand.",
                      "defaultValue": "Something worth waiting for"
                    },
                    "SITE_NAME": {
                      "isOptional": true,
                      "description": "Brand name shown as the hero on the public page.",
                      "defaultValue": "Waitlist"
                    },
                    "ACCENT_COLOR": {
                      "isOptional": true,
                      "description": "Accent color for the CTA button (any CSS color).",
                      "defaultValue": ""
                    },
                    "SUPPORT_TEXT": {
                      "isOptional": true,
                      "description": "Supporting sentence under the headline.",
                      "defaultValue": "Leave your email. Be first when we open the doors."
                    },
                    "ADMIN_PASSWORD": {
                      "description": "Password for /admin. Generated automatically on deploy.",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "004d1d8e-bcfd-4835-9910-5181fece00b6": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "waitlist-app",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T15:39:16.961Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_e5c90d8b14b0405f9d54",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 54,
    "typical_build_seconds": 31,
    "typical_start_seconds": 10,
    "slowest_service": "waitlist-app"
  }
}
