Upload processing service for RespondlyAI platform. Part of the microservices architecture using a shared API Gateway.
- Service: Upload processing and file management
- Runtime: Node.js 22.x on AWS Lambda
- API Gateway: Shared with email-service-lambda
- Endpoints:
/uploads/process(GET, POST) - Deployment: Serverless Framework
Process file uploads and return upload metadata.
Health check and service status.
This service uses the same API Gateway as email-service-lambda:
- Gateway ID: Imported from CloudFormation exports
- Email Service:
/emails/send - Upload Service:
/uploads/process - Base URL:
https://y47joumyc5.execute-api.ap-south-1.amazonaws.com/dev
# Install dependencies
npm install
# Deploy to AWS
npm run deploy
# View logs
npm run logs
# Remove service
npm run removeThe service imports the following CloudFormation exports from email-service-lambda:
dev-RespondlyAI-RestApiId: API Gateway REST API IDdev-RespondlyAI-RootResourceId: API Gateway Root Resource ID
# Test health endpoint
curl -X GET "https://y47joumyc5.execute-api.ap-south-1.amazonaws.com/dev/uploads/process"
# Test upload processing
curl -X POST "https://y47joumyc5.execute-api.ap-south-1.amazonaws.com/dev/uploads/process" \
-H "Content-Type: application/json" \
-d '{"file": "test.pdf", "size": 1024}'NODE_ENV: Current environment (dev/prod)STAGE: Deployment stage
aws-sdk: AWS service interactionsserverless: Deployment frameworkserverless-offline: Local development server