{
  "manifest_version": "1.0.0",
  "template": {
    "id": "396dc8cb-a925-454d-9fe0-f118c8b59dbe",
    "slug": "trustworthy-smile",
    "name": "TanStack Start Monorepo",
    "description": "pnpm monorepo with Supabase, Better Auth, Drizzle ORM, and shadcn/ui.",
    "url": "https://railway.com/deploy/trustworthy-smile",
    "upstream": {
      "repo_url": "https://github.com/FilipLjubic/tanstack-start-monorepo"
    }
  },
  "services": [
    {
      "name": "tanstack-start-monorepo",
      "source": {
        "repo": "https://github.com/FilipLjubic/tanstack-start-monorepo"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "tanstack-start-monorepo",
      "description": "Same one as in Docker",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "BASE_URL",
      "service": "tanstack-start-monorepo",
      "description": "Auto-filled by Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NODE_ENV",
      "service": "tanstack-start-monorepo",
      "description": "development | production",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "DATABASE_URL",
      "service": "tanstack-start-monorepo",
      "description": "Postgres/Supabase connection string from project settings",
      "secret": false,
      "strategy": "default",
      "default": "postgresql://postgres:postgres@127.0.0.1:54322/postgres"
    },
    {
      "key": "BETTER_AUTH_URL",
      "service": "tanstack-start-monorepo",
      "description": "Auto-filled by Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "TRUSTED_ORIGINS",
      "service": "tanstack-start-monorepo",
      "description": "Auto-filled by Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GOOGLE_CLIENT_ID",
      "service": "tanstack-start-monorepo",
      "description": "From https://console.cloud.google.com/apis/credentials",
      "secret": false,
      "strategy": "default",
      "default": "not-configured"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "tanstack-start-monorepo",
      "description": "Auto-generated by Railway",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "GOOGLE_CLIENT_SECRET",
      "service": "tanstack-start-monorepo",
      "description": "Redirect URI: {BETTER_AUTH_URL}/api/auth/callback/google",
      "secret": true,
      "strategy": "default",
      "default": "not-configured"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "trustworthy-smile"
      }
    },
    "cli": "railway deploy --template trustworthy-smile",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "396dc8cb-a925-454d-9fe0-f118c8b59dbe",
            "serializedConfig": {
              "services": {
                "ecdb9d22-f17f-4327-8109-052c9d4f43ad": {
                  "icon": "https://tanstack.com/images/logos/logo-color-100.png",
                  "name": "tanstack-start-monorepo",
                  "deploy": {
                    "healthcheckPath": "/"
                  },
                  "source": {
                    "repo": "FilipLjubic/tanstack-start-monorepo",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "description": "Same one as in Docker",
                      "defaultValue": "3000"
                    },
                    "BASE_URL": {
                      "description": "Auto-filled by Railway",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NODE_ENV": {
                      "description": "development | production",
                      "defaultValue": "production"
                    },
                    "DATABASE_URL": {
                      "description": "Postgres/Supabase connection string from project settings",
                      "defaultValue": "postgresql://postgres:postgres@127.0.0.1:54322/postgres"
                    },
                    "BETTER_AUTH_URL": {
                      "description": "Auto-filled by Railway",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "TRUSTED_ORIGINS": {
                      "description": "Auto-filled by Railway",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GOOGLE_CLIENT_ID": {
                      "isOptional": true,
                      "description": "From https://console.cloud.google.com/apis/credentials",
                      "defaultValue": "not-configured"
                    },
                    "BETTER_AUTH_SECRET": {
                      "description": "Auto-generated by Railway",
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    },
                    "GOOGLE_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Redirect URI: {BETTER_AUTH_URL}/api/auth/callback/google",
                      "defaultValue": "not-configured"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "tanstack-start-monorepo",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T23:41:38.111Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_5725a907009a49ee9baa",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 117,
    "typical_build_seconds": 61,
    "typical_start_seconds": 10,
    "slowest_service": "tanstack-start-monorepo"
  }
}
