This project provides a serverless API that enables conversion between XML, YAML and JSON data formats. It is built using AWS Lambda and API Gateway, with infrastructure managed via Terraform.
- Language: TypeScript (Node.js)
- Conversion Libraries:
- Infrastructure: AWS Lambda, API Gateway (REST API), Terraform
POST /convert?from={source_format}&to={target_format}
from: Source format (json, xml, yaml)to: Target format (json, xml, yaml)
curl -X POST "https://api-gateway-url/dev/convert?from=json&to=yaml" \
-H "Content-Type: application/json" \
-d '{"name": "John", "age": 30}'name: John
age: 30- Node.js 22+
- npm
- AWS CLI (for deployment)
- Terraform (for infrastructure)
npm installnpm test./deploy.sh./destroy.shThis project is licensed under the MIT License.