{
  "manifest_version": "1.0.0",
  "template": {
    "id": "67265040-03ad-40d1-bad7-12259faefa04",
    "slug": "autodetailing-saas-starter-ai-cloudinary",
    "name": "AutoDetailing SaaS Starter (AI + Cloudinary + MongoDB)",
    "description": "Auto detailing CRM & SaaS starter with AI and image uploads",
    "url": "https://railway.com/deploy/autodetailing-saas-starter-ai-cloudinary",
    "upstream": {
      "repo_url": "https://github.com/abenceszabo97/cardetailing_app_template"
    }
  },
  "services": [
    {
      "name": "cardetailing_app_template",
      "source": {
        "repo": "https://github.com/abenceszabo97/cardetailing_app_template"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "DB_NAME",
      "service": "cardetailing_app_template",
      "description": "# Name of the database used by the application",
      "secret": false,
      "strategy": "default",
      "default": "your_database_name\n"
    },
    {
      "key": "MONGO_URL",
      "service": "cardetailing_app_template",
      "description": "# MongoDB connection URI used to connect to the database",
      "secret": false,
      "strategy": "default",
      "default": "your_mongodb_connection_string\n"
    },
    {
      "key": "CORS_ORIGINS",
      "service": "cardetailing_app_template",
      "description": "# Comma-separated list of allowed origins for Cross-Origin Resource Sharing (CORS)",
      "secret": false,
      "strategy": "default",
      "default": "http://localhost:3000\n"
    },
    {
      "key": "GROQ_API_KEY",
      "service": "cardetailing_app_template",
      "description": "# API key for accessing Groq LLM services (used for AI features)",
      "secret": true,
      "strategy": "default",
      "default": "your_groq_api_key\n"
    },
    {
      "key": "SENDER_EMAIL",
      "service": "cardetailing_app_template",
      "description": "# Email address used as the sender for outgoing emails",
      "secret": false,
      "strategy": "default",
      "default": "noreply@yourdomain.com\n"
    },
    {
      "key": "RESEND_API_KEY",
      "service": "cardetailing_app_template",
      "description": "# API key for Resend email service used to send transactional emails",
      "secret": true,
      "strategy": "default",
      "default": "your_resend_api_key\n"
    },
    {
      "key": "EMERGENT_LLM_KEY",
      "service": "cardetailing_app_template",
      "description": "# API key for Emergent LLM provider (used for AI processing / fallback models)",
      "secret": true,
      "strategy": "default",
      "default": "your_emergent_llm_key\n"
    },
    {
      "key": "CLOUDINARY_API_KEY",
      "service": "cardetailing_app_template",
      "description": "# Public API key used to authenticate requests to Cloudinary",
      "secret": true,
      "strategy": "default",
      "default": "your_cloudinary_api_key"
    },
    {
      "key": "CLOUDINARY_API_SECRET",
      "service": "cardetailing_app_template",
      "description": "# Secret key used for signing and securing Cloudinary API requests (keep this private)",
      "secret": true,
      "strategy": "default",
      "default": "your_cloudinary_api_secret\n"
    },
    {
      "key": "CLOUDINARY_CLOUD_NAME",
      "service": "cardetailing_app_template",
      "description": "# Unique Cloudinary cloud name that identifies your media storage account",
      "secret": false,
      "strategy": "default",
      "default": "your_cloud_name\n"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "autodetailing-saas-starter-ai-cloudinary"
      }
    },
    "cli": "railway deploy --template autodetailing-saas-starter-ai-cloudinary",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "67265040-03ad-40d1-bad7-12259faefa04",
            "serializedConfig": {
              "services": {
                "ccce9b1e-05d6-4184-a590-dc66f13db365": {
                  "name": "cardetailing_app_template",
                  "source": {
                    "repo": "abenceszabo97/cardetailing_app_template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "DB_NAME": {
                      "isOptional": false,
                      "description": "# Name of the database used by the application",
                      "defaultValue": "your_database_name\n"
                    },
                    "MONGO_URL": {
                      "isOptional": false,
                      "description": "# MongoDB connection URI used to connect to the database",
                      "defaultValue": "your_mongodb_connection_string\n"
                    },
                    "CORS_ORIGINS": {
                      "isOptional": false,
                      "description": "# Comma-separated list of allowed origins for Cross-Origin Resource Sharing (CORS)",
                      "defaultValue": "http://localhost:3000\n"
                    },
                    "GROQ_API_KEY": {
                      "isOptional": false,
                      "description": "# API key for accessing Groq LLM services (used for AI features)",
                      "defaultValue": "your_groq_api_key\n"
                    },
                    "SENDER_EMAIL": {
                      "isOptional": false,
                      "description": "# Email address used as the sender for outgoing emails",
                      "defaultValue": "noreply@yourdomain.com\n"
                    },
                    "RESEND_API_KEY": {
                      "isOptional": false,
                      "description": "# API key for Resend email service used to send transactional emails",
                      "defaultValue": "your_resend_api_key\n"
                    },
                    "EMERGENT_LLM_KEY": {
                      "isOptional": false,
                      "description": "# API key for Emergent LLM provider (used for AI processing / fallback models)",
                      "defaultValue": "your_emergent_llm_key\n"
                    },
                    "CLOUDINARY_API_KEY": {
                      "isOptional": false,
                      "description": "# Public API key used to authenticate requests to Cloudinary",
                      "defaultValue": "your_cloudinary_api_key"
                    },
                    "CLOUDINARY_API_SECRET": {
                      "isOptional": false,
                      "description": "# Secret key used for signing and securing Cloudinary API requests (keep this private)",
                      "defaultValue": "your_cloudinary_api_secret\n"
                    },
                    "CLOUDINARY_CLOUD_NAME": {
                      "isOptional": false,
                      "description": "# Unique Cloudinary cloud name that identifies your media storage account",
                      "defaultValue": "your_cloud_name\n"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T04:14:41.730Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T15:44:32.156Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_9b711c606bc8430492c8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 169,
    "typical_build_seconds": 99,
    "typical_start_seconds": 10,
    "slowest_service": "cardetailing_app_template"
  }
}
