{"catalogRevision":"cat_2524aeaab4fc1e08","recipeId":"page:blueprints:general-dentistry:campaign-site:next-js","recipeRevision":"r1","canonicalPath":"/blueprints/general-dentistry/campaign-site/next-js","label":"General dentistry: campaign site using Next.js","title":"How to build a campaign site for general dentistry with Next.js on Ample","family":"Industry blueprint","summary":"A campaign site blueprint for general dentistry built with Next.js on Ample. Domain schema: services (code, name, description, duration_minutes, price_from): the treatments a practice offers; locations (name, address, phone, opening_hours, accessibility_notes): each practice location; dentists (name, registration_number, specialties, location_id): the clinicians listed publicly; insurance_plans (name, accepted_at_location_id): plans accepted per location; asset_versions (version, cdn_key, published_at): versioned assets served from the CDN bucket. Public information: service catalog with prices from, locations, hours and parking, clinician profiles and registrations, accepted insurance plans. Kept out of scope until handling is reviewed: patient identity and contact details, clinical records, x-rays and treatment notes, appointment history tied to a person. Patient data is health data. Keep it out of these workflows until handling requirements (for example HIPAA in the United States) have been reviewed; nothing here establishes compliance. Technical basis verified on Next.js: a versioned, immutable-cached asset uploaded to a published bucket and served from the CDN URL alongside the app's own public HTTPS URL.","representativeQueries":["General dentistry: campaign site using Next.js","Where can I host General dentistry: Campaign site built with Next.js?","I need a genuinely specialized campaign site workflow covering public service catalog and location-specific information; no patient data."],"breadcrumbIds":["discovery","industry","industry:dentistry","industry:general-dentistry","page:blueprints:general-dentistry:campaign-site:next-js"],"breadcrumbs":[{"id":"discovery","label":"Agent hosting discovery","canonicalPath":"/discover/discovery","kind":"root"},{"id":"industry","label":"Industries and specialties","canonicalPath":"/discover/industry","kind":"facet"},{"id":"industry:dentistry","label":"Dentistry","canonicalPath":"/discover/industry/dentistry","kind":"group"},{"id":"industry:general-dentistry","label":"General dentistry","canonicalPath":"/discover/industry/general-dentistry","kind":"atom"},{"id":"page:blueprints:general-dentistry:campaign-site:next-js","label":"General dentistry: campaign site using Next.js","canonicalPath":"/blueprints/general-dentistry/campaign-site/next-js","kind":"recipe"}],"parentIds":["industry:general-dentistry","workload:campaign-site","stack:framework-next-js","intent:deploy-web-app"],"parents":[{"id":"industry:general-dentistry","label":"General dentistry","canonicalPath":"/discover/industry/general-dentistry","kind":"atom"},{"id":"workload:campaign-site","label":"Campaign site","canonicalPath":"/discover/workload/campaign-site","kind":"atom"},{"id":"stack:framework-next-js","label":"Next.js","canonicalPath":"/discover/stack/framework-next-js","kind":"atom"},{"id":"intent:deploy-web-app","label":"Deploy web app","canonicalPath":"/discover/intent/deploy-web-app","kind":"atom"}],"resourceRequirements":["primitive:compute","primitive:cdn"],"infrastructureRequirements":[{"primitiveId":"primitive:compute","label":"Compute","canonicalPath":"/discover/primitive/compute","status":"verified","summary":"Apps run in isolated x86_64 Firecracker microVMs; sizes are the priced VM sizes."},{"primitiveId":"primitive:cdn","label":"CDN","canonicalPath":"/discover/primitive/cdn","status":"verified","summary":"A published bucket's objects are served at its public_url. It does not front app compute and is not a cache or key-value store."}],"framework":"Next.js","workload":"Campaign site","industry":"General dentistry","releaseStatus":"published","supportStatus":"verified","executionStatus":"blocked","executionBlockReason":"schema_changed: live tool schema differs from the recorded binding","docsOnly":false,"prerequisites":["A Next.js project (next build then next start -H 0.0.0.0 -p $PORT on the node-22 template)","Bucket credentials from `ample bucket create` passed as encrypted S3_* environment variables and a published bucket for public assets (CDN_*)","A review of which general dentistry data classes may be handled at all; this blueprint models public information only"],"testedConfiguration":{"template":"node-22","runtime":"node","size":"s-1vcpu-1gb","install":"npm install","build":"npm run build --if-present","start":"npm run start"},"inputSchema":{"additionalProperties":false,"properties":{"env":{"description":"Encrypted environment variables","items":{"pattern":"^[A-Z][A-Z0-9_]*=.*$","type":"string"},"maxItems":50,"type":"array"},"name":{"description":"App name","maxLength":63,"minLength":1,"pattern":"^[a-z0-9-]+$","type":"string"},"path":{"description":"Project directory or ample.toml service","maxLength":512,"minLength":1,"type":"string"},"release_command":{"description":"Migration command run before activation","maxLength":512,"type":"string"}},"required":["env","name","path"],"type":"object"},"outputSchema":null,"workflowSteps":[{"title":"Model the general dentistry domain","body":"Create the tables services, locations, dentists, insurance_plans, asset_versions. The treatments a practice offers lives in services; keep the sensitive classes (patient identity and contact details, clinical records, x-rays and treatment notes, appointment history tied to a person) out of this schema."},{"title":"Workflow step 1","body":"Model the campaign's offers and locations as tables with start and end dates"},{"title":"Workflow step 2","body":"Build the site and publish versioned static assets to the CDN bucket"},{"title":"Workflow step 3","body":"Collect no personal data on the site itself; hand off to an authorized system"},{"title":"Workflow step 4","body":"Deploy, verify the public URL and the CDN asset URL, and retire the campaign by end date"},{"title":"Deploy","body":"Run the synchronous deploy once and read the result. Re-running with no change is a no-op.","command":"ample deploy . --name <app-name> --public --env S3_ENDPOINT=... --env S3_REGION=... --env S3_BUCKET=... --env S3_ACCESS_KEY_ID=... --env S3_SECRET_ACCESS_KEY=... --env CDN_PUBLIC_URL=..."},{"title":"Verify","body":"Run the pattern self-test(s) from the example (/p/versioned-static-assets) and your own acceptance checks for the general dentistry workflow.","command":"ample logs <deployment_id> --kind build"}],"examples":[{"title":"Next.js pattern fixture","description":"Verified public web service basis for this blueprint.","sourceRef":"tests/deploy-canaries/next-js-patterns"}],"successChecks":[{"description":"app responds on its public URL","kind":"http_get","path":"/","expect":"ample canary next js patterns"},{"description":"versioned-static-assets self-test from the example","kind":"http_get","path":"/p/versioned-static-assets","expect":"see the pattern fixture checks"}],"limitations":["The technical basis (public web service on Next.js) was verified with the pattern fixture; the general dentistry schema and workflow are an original design for this blueprint and were not executed as a separate application.","No health, financial, privacy or other compliance claim is made. Patient data is health data. Keep it out of these workflows until handling requirements (for example HIPAA in the United States) have been reviewed; nothing here establishes compliance.","Public content and synthetic examples only until actual data-handling requirements have been reviewed.","Verified on the node-22 template at s-1vcpu-1gb; region, request-duration limits and other sizes are unknown or unverified.","PutObject and GetObject with path-style addressing are verified; other S3 operations and CDN cache rules are not."],"costEstimate":{"currency":"USD","monthlyAmount":5.0,"authoritative":true,"basis":"size prices from pricing.toml (loaded by the API) at build revision 19be11c21682b9423791a5a5c748996a69da9813","components":[{"name":"app server","size":"s-1vcpu-1gb","quantity":1.0,"monthlyAmount":5.0}],"note":"Upper-bound monthly price of the tested sizes. Buckets are allocation-priced per quota and not included."},"evidenceSummary":[{"kind":"canary_run","summary":"Next.js pattern fixture deployed on Ample (next build then next start -H 0.0.0.0 -p $PORT on the node-22 template); the public web service checks passed: a versioned, immutable-cached asset uploaded to a published bucket and served from the CDN URL alongside the app's own public HTTPS URL. The blueprint's General dentistry schema and workflow below build on that verified basis and were not separately executed.","observedAt":"2026-09-21T02:34:39Z","implementationRevision":"1d28ae0 (CLI 0.1.21)","expiresAt":"2027-03-20T02:34:39Z","scope":{"checks":["/p/versioned-static-assets"],"pattern":"pattern:public-web-service","template":"node-22"}}],"lastVerifiedAt":"2026-09-21T02:34:39Z","mcpBinding":{"registryRef":"mcp:ample_deploy","toolName":"ample_deploy","schemaHash":"876465fce906da0c224d62961d3343064108ebe30af80cf1b87094974e948853","observedAt":"2026-09-22T00:31:22.774679+00:00","implementationRevision":"e6446ceea69b","requiredScopes":["servers:write","buckets:read"],"bindingState":"schema_changed"},"unknowns":["region availability is unknown until a verified region fact is recorded","compliance attestations are unknown; none are claimed"],"formats":{"html":"https://ample.computer/blueprints/general-dentistry/campaign-site/next-js","markdown":"https://ample.computer/blueprints/general-dentistry/campaign-site/next-js.md","json":"https://api.ample.computer/v1/catalog/recipes/page%3Ablueprints%3Ageneral-dentistry%3Acampaign-site%3Anext-js"},"nextActions":[{"actionId":"browse-catalog","label":"Browse the catalog index","operationId":"catalog_index","method":"GET","relativePath":"/v1/catalog","origin":"api","parameters":{},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"search-recipes","label":"Search published recipes by intent, stack and constraints","operationId":"search_recipes","method":"POST","relativePath":"/v1/catalog/search","origin":"api","parameters":{"body":{"limit":5,"query":"General dentistry: campaign site using Next.js"}},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"plan:page:blueprints:general-dentistry:campaign-site:next-js","label":"Prepare a side-effect-free deployment plan for an authorized project","operationId":"plan_deployment","method":"POST","relativePath":"/v1/catalog/plan","origin":"api","parameters":{"body":{"inputs":{},"projectId":"<workspace or server id you own>","recipeId":"page:blueprints:general-dentistry:campaign-site:next-js","recipeRevision":"r1"}},"requiresAuthentication":true,"requiresApproval":false},{"actionId":"auth-setup","label":"Read the existing agent authentication setup","operationId":"existing_auth_setup","method":"GET","relativePath":"/mcp/setup","origin":"api","parameters":{},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:industry:general-dentistry","label":"Browse General dentistry","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/industry%3Ageneral-dentistry","origin":"api","parameters":{"nodeId":"industry:general-dentistry"},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:workload:campaign-site","label":"Browse Campaign site","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/workload%3Acampaign-site","origin":"api","parameters":{"nodeId":"workload:campaign-site"},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:stack:framework-next-js","label":"Browse Next.js","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/stack%3Aframework-next-js","origin":"api","parameters":{"nodeId":"stack:framework-next-js"},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:intent:deploy-web-app","label":"Browse Deploy web app","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/intent%3Adeploy-web-app","origin":"api","parameters":{"nodeId":"intent:deploy-web-app"},"requiresAuthentication":false,"requiresApproval":false}]}