| name | mern-deploy |
| description | Deployment checklist and setup for MERN projects targeting Vercel, AWS, or Docker. |
| argument-hint | [--target vercel|aws|docker] [--check-only] |
| allowed-tools | Bash, Write, Read, Glob, Grep |
Purpose
Prepare a MERN project for production deployment with proper configuration, security hardening, and monitoring setup.
Arguments
--target <platform> — Deployment target (default: vercel)
vercel — Vercel (recommended for Next.js)
aws — AWS (Lambda + API Gateway or ECS)
docker — Docker container (self-hosted)
--check-only — Run pre-deployment checklist without creating files
Pre-deployment checklist (always runs)
Environment
Database
Security
Performance
Monitoring
What gets created (per target)
Vercel
vercel.json # Vercel configuration
AWS
serverless.yml # Serverless Framework config
or
Dockerfile # For ECS deployment
buildspec.yml # CodeBuild config
Docker
Dockerfile # Multi-stage build
docker-compose.yml # Local testing
.dockerignore # Ignore patterns
Workflow
- Run pre-deployment checklist
- Fix any blockers found
- Create deployment configuration for target
- Verify build succeeds
- Document deployment steps
Output
- Checklist results (pass/fail)
- Files created
- Next steps for deployment
- Environment variables needed in production
Reference
For platform-specific configurations, see reference/mern-deploy-reference.md