{
  "manifest_version": "1.0.0",
  "template": {
    "id": "44d0881a-fd94-47bd-87c7-73ae3006fcc8",
    "slug": "hopeful-wonder",
    "name": "Next.js SaaS Starter",
    "description": "Next.js SaaS starter with Supabase Auth, Stripe, and multi-tenant orgs.",
    "url": "https://railway.com/deploy/hopeful-wonder",
    "upstream": {
      "repo_url": "https://github.com/GerardoRdz96/nextjs-saas-starter"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "nextjs-saas-starter",
      "source": {
        "repo": "https://github.com/GerardoRdz96/nextjs-saas-starter"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "STRIPE_SECRET_KEY",
      "service": "nextjs-saas-starter",
      "description": "Your Stripe secret key (sk_live_... or sk_test_...)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NEXT_PUBLIC_APP_URL",
      "service": "nextjs-saas-starter",
      "description": "Set to ${{RAILWAY_PUBLIC_DOMAIN}} — Railway fills this automatically",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "STRIPE_WEBHOOK_SECRET",
      "service": "nextjs-saas-starter",
      "description": "Stripe webhook signing secret (whsec_...)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "STRIPE_PUBLISHABLE_KEY",
      "service": "nextjs-saas-starter",
      "description": "Your Stripe publishable key (pk_live_... or pk_test_...)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NEXT_PUBLIC_SUPABASE_URL",
      "service": "nextjs-saas-starter",
      "description": "Your Supabase project URL (from Project Settings → API)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SUPABASE_SERVICE_ROLE_KEY",
      "service": "nextjs-saas-starter",
      "description": "Your Supabase service role key (keep secret)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NEXT_PUBLIC_SUPABASE_ANON_KEY",
      "service": "nextjs-saas-starter",
      "description": "Your Supabase anon/public key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hopeful-wonder"
      }
    },
    "cli": "railway deploy --template hopeful-wonder",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "44d0881a-fd94-47bd-87c7-73ae3006fcc8",
            "serializedConfig": {
              "services": {
                "b9e32785-1f38-4066-ba93-dde545799a82": {
                  "name": "nextjs-saas-starter",
                  "source": {
                    "repo": "GerardoRdz96/nextjs-saas-starter",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "STRIPE_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Your Stripe secret key (sk_live_... or sk_test_...)",
                      "defaultValue": "{{STRIPE_SECRET_KEY}}"
                    },
                    "NEXT_PUBLIC_APP_URL": {
                      "isOptional": false,
                      "description": "Set to ${{RAILWAY_PUBLIC_DOMAIN}} — Railway fills this automatically",
                      "defaultValue": "{{NEXT_PUBLIC_APP_URL}}"
                    },
                    "STRIPE_WEBHOOK_SECRET": {
                      "isOptional": false,
                      "description": "Stripe webhook signing secret (whsec_...)",
                      "defaultValue": "{{STRIPE_WEBHOOK_SECRET}}"
                    },
                    "STRIPE_PUBLISHABLE_KEY": {
                      "isOptional": false,
                      "description": "Your Stripe publishable key (pk_live_... or pk_test_...)",
                      "defaultValue": "{{STRIPE_PUBLISHABLE_KEY}}"
                    },
                    "NEXT_PUBLIC_SUPABASE_URL": {
                      "isOptional": false,
                      "description": "Your Supabase project URL (from Project Settings → API)",
                      "defaultValue": "{{NEXT_PUBLIC_SUPABASE_URL}}"
                    },
                    "SUPABASE_SERVICE_ROLE_KEY": {
                      "isOptional": false,
                      "description": "Your Supabase service role key (keep secret)",
                      "defaultValue": "{{SUPABASE_SERVICE_ROLE_KEY}}"
                    },
                    "NEXT_PUBLIC_SUPABASE_ANON_KEY": {
                      "isOptional": false,
                      "description": "Your Supabase anon/public key",
                      "defaultValue": "{{NEXT_PUBLIC_SUPABASE_ANON_KEY}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
