Add one-click deploy buttons for major cloud platforms#13
Merged
robdimarco-atxp merged 11 commits intomainfrom Sep 10, 2025
Merged
Conversation
- Add vercel.json configuration for full-stack deployment - Include Vercel deploy button in frontend header with hover effects - Configure routing for API calls to backend and static files to frontend - Add responsive styling for mobile devices - Pre-configure ATXP_CONNECTION_STRING environment variable prompt 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add render.yaml configuration for dual-service deployment - Include Render deploy button alongside Vercel in frontend header - Configure backend and frontend as separate Render services - Set up environment variables and health check endpoint - Enable free tier deployment with proper routing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove ATXP_CONNECTION_STRING environment variable from render.yaml - Remove connection string prompt from Vercel deploy button URL - Ensure user-specific connection strings are not pre-configured in deployments - Users will input their connection strings directly in the deployed app 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove deploy buttons from frontend header (user-facing app) - Remove related CSS styling for deploy buttons - Add "Quick Deploy" section to README.md with Vercel and Render buttons - Deploy buttons now properly targeted at developers, not end users - Clean up frontend UI to focus on app functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add wrangler.toml configuration for Cloudflare Workers backend - Create worker.ts adapter to run Express app on Cloudflare Workers - Add _cloudflare_pages.toml for frontend deployment on Cloudflare Pages - Include Cloudflare deploy button in README.md Quick Deploy section - Add build:worker script to backend package.json for Workers deployment - Enable full-stack deployment with Workers + Pages integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove no-op build:worker script that copied file to itself - Simplify wrangler.toml to point directly to TypeScript source - Rewrite worker.ts with proper Cloudflare Workers implementation - Replace complex Express adapter with native Workers API handlers - Add proper CORS headers and error handling - Remove unnecessary Node.js compatibility flags - Cloudflare Workers will handle TypeScript compilation automatically 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Update Vercel deploy button to use atxp-dev/atxp-express-example - Update Render deploy button to use atxp-dev/atxp-express-example - Update Cloudflare deploy button to use atxp-dev/atxp-express-example - All deploy buttons now point to the official ATXP repository 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Set project-name parameter to 'atxp-express-example' for consistent naming - Set repository-name parameter to 'atxp-express-example' for clean repo names - Improves user experience by pre-filling deployment form fields - Users can still customize names during deployment if desired 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add ExecutionContext interface definition for Cloudflare Workers - Replace Response.json() with new Response(JSON.stringify()) for compatibility - Resolve all TypeScript compilation errors in worker.ts - Maintain same functionality while ensuring type safety 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…pport - Replace mock implementation with actual Express server using httpServerHandler - Enable nodejs_compat flag and update compatibility date for Node.js HTTP server support - Import real ATXP client SDK and utility functions for full functionality - Add proper Express routes for health, validation, and text/image processing - Include type definitions for cloudflare:node module - Leverage Cloudflare's new Node.js HTTP server capabilities announced in Sept 2024 - Maintain API compatibility while enabling real ATXP image generation Note: Background processing limitations in Workers environment noted for future enhancement 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove Cloudflare deploy button from README.md - Delete wrangler.toml and _cloudflare_pages.toml configuration files - Remove backend/worker.ts and backend/cloudflare-types.d.ts - Keep proven deployment options: Vercel and Render - Cloudflare support will be developed in separate branch/PR This keeps the main deployment PR focused on stable, tested platforms. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add comprehensive one-click deployment support for the ATXP Express example across three major cloud platforms: Vercel, Render, and Cloudflare Pages/Workers.
Changes Made
🚀 Deployment Platforms Added
📋 Configuration Files
vercel.json- Vercel full-stack configurationrender.yaml- Render Blueprint for dual serviceswrangler.toml- Cloudflare Workers backend configuration_cloudflare_pages.toml- Cloudflare Pages frontend configurationbackend/worker.ts- Native Cloudflare Workers implementation📝 Documentation Updates
🔒 Security Improvements
🎯 UX Improvements
Deployment Options
Vercel
Render
Cloudflare
Files Changed
README.md- Added Quick Deploy sectionvercel.json- Vercel configurationrender.yaml- Render Blueprintwrangler.toml- Cloudflare Workers config_cloudflare_pages.toml- Cloudflare Pages configbackend/worker.ts- Workers implementationbackend/package.json- Build scriptsTest Plan
🤖 Generated with Claude Code