{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5593a0c0-5ae0-4534-aff6-743fa80c726d",
    "slug": "wj1mcU",
    "name": "Next.js + Supabase (Prisma + tRPC)",
    "description": "A sensible modern set of defaults for a Next.js app with Supabase (+ auth!)",
    "url": "https://railway.com/deploy/wj1mcU",
    "upstream": {
      "repo_url": "https://github.com/bambrose24/nextjs-supabase-template"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "nextjs-app",
      "source": {
        "repo": "https://github.com/bambrose24/nextjs-supabase-template"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DIRECT_URL",
      "service": "nextjs-app",
      "description": "Same as DATABASE_URL but should be the direct link (likely with port 5432). See https://supabase.com/docs/guides/database/connecting-to-postgres",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATABASE_URL",
      "service": "nextjs-app",
      "description": "Get from the Supabase dashboard. It probably has port 6543, whereas the DIRECT_URL has port 5432.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NEXT_PUBLIC_SUPABASE_URL",
      "service": "nextjs-app",
      "description": "From Supabase dash",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NEXT_PUBLIC_SUPABASE_ANON_KEY",
      "service": "nextjs-app",
      "description": "From Supabase dash",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "wj1mcU"
      }
    },
    "cli": "railway deploy --template wj1mcU",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5593a0c0-5ae0-4534-aff6-743fa80c726d",
            "serializedConfig": {
              "services": {
                "38a7cfbd-a694-42c2-96c1-e10f54bd33ef": {
                  "name": "nextjs-app",
                  "source": {
                    "repo": "bambrose24/nextjs-supabase-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "DIRECT_URL": {
                      "isOptional": false,
                      "description": "Same as DATABASE_URL but should be the direct link (likely with port 5432). See https://supabase.com/docs/guides/database/connecting-to-postgres",
                      "defaultValue": "{{DIRECT_URL}}"
                    },
                    "DATABASE_URL": {
                      "description": "Get from the Supabase dashboard. It probably has port 6543, whereas the DIRECT_URL has port 5432.",
                      "defaultValue": "{{DATABASE_URL}}"
                    },
                    "NEXT_PUBLIC_SUPABASE_URL": {
                      "description": "From Supabase dash",
                      "defaultValue": "{{NEXT_PUBLIC_SUPABASE_URL}}"
                    },
                    "NEXT_PUBLIC_SUPABASE_ANON_KEY": {
                      "isOptional": false,
                      "description": "From Supabase dash",
                      "defaultValue": "{{NEXT_PUBLIC_SUPABASE_ANON_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
