{
  "manifest_version": "1.0.0",
  "template": {
    "id": "736e28e7-78fa-4f61-a68d-8c4f539ec26b",
    "slug": "nextjs-best-partices-boilerplate",
    "name": "NextJs Best Partices Boilerplate",
    "description": "Prod ready Next.js clean architecture, TypeScript, zero-config Railway",
    "url": "https://railway.com/deploy/nextjs-best-partices-boilerplate",
    "upstream": {
      "repo_url": "https://github.com/contourkde/nextjs_best_practices"
    }
  },
  "services": [
    {
      "name": "nextjs_best_practices",
      "source": {
        "repo": "https://github.com/contourkde/nextjs_best_practices"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "NODE_ENV",
      "service": "nextjs_best_practices",
      "description": "NODE_ENV=production",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "NEXT_PUBLIC_APP_NAME",
      "service": "nextjs_best_practices",
      "description": "NEXT_PUBLIC_APP_NAME: Next.js Railway Template",
      "secret": false,
      "strategy": "default",
      "default": "Next.js Best Practices"
    },
    {
      "key": "NEXT_PUBLIC_APP_VERSION",
      "service": "nextjs_best_practices",
      "description": "NEXT_PUBLIC_APP_VERSION: 1.0.0",
      "secret": false,
      "strategy": "default",
      "default": "1.0.0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "nextjs-best-partices-boilerplate"
      }
    },
    "cli": "railway deploy --template nextjs-best-partices-boilerplate",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "736e28e7-78fa-4f61-a68d-8c4f539ec26b",
            "serializedConfig": {
              "services": {
                "ec957d7e-5305-45d9-8a0a-56dce4c6cf4d": {
                  "icon": "https://devicons.railway.com/i/nextjs-light.svg",
                  "name": "nextjs_best_practices",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health"
                  },
                  "source": {
                    "repo": "https://github.com/contourkde/nextjs_best_practices",
                    "rootDirectory": null
                  },
                  "variables": {
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "NODE_ENV=production",
                      "defaultValue": "production"
                    },
                    "NEXT_PUBLIC_APP_NAME": {
                      "isOptional": false,
                      "description": "NEXT_PUBLIC_APP_NAME: Next.js Railway Template",
                      "defaultValue": "Next.js Best Practices"
                    },
                    "NEXT_PUBLIC_APP_VERSION": {
                      "isOptional": false,
                      "description": "NEXT_PUBLIC_APP_VERSION: 1.0.0",
                      "defaultValue": "1.0.0"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "nextjs_best_practices",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-15T10:14:39.124Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-14T03:03:48.446Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_6298183bdfb04b2b970d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
