This project demonstrates how to build a serverless text-to-speech converter using AWS services like DynamoDB, Lambda, S3, SNS, Polly, and API Gateway.
- Store and manage posts using DynamoDB.
- Convert text posts into audio files (MP3) with Amazon Polly.
- Serve the audio files via S3 and provide RESTful API access.
- Static web interface for easy interaction.
The application is designed using a serverless architecture, ensuring scalability, cost-effectiveness, and ease of maintenance.
Follow these steps to deploy and run the project.
- An AWS account with sufficient permissions.
- AWS CLI installed and configured.
- Node.js installed (for setting up the static website).
- Python 3.x for Lambda functions.
- Create AWS Resources:
- DynamoDB table
- S3 bucket
- SNS topic
- Deploy Lambda Functions:
new_post_lambda
convert_to_audio_lambda
get_post_lambda
- Expose APIs using API Gateway.
- Host the static website on S3.
- Access the web interface hosted on Amazon S3.
- Use the "Add Post" form to submit text for conversion.
- Retrieve posts via the "Get Post" section.
Contributions are welcome! Please submit a pull request or raise an issue for suggestions.
This project is licensed under the MIT License. See the LICENSE file for details.