Voice Foundry
Tech demo for Voice Foundry
Initialisation and project setup
Load the repository and run the following command to initialise the project:
yarn install
Running the code
To kick things off, you can run the following serverless command:
serverless deploy
OR
sls deploy
What does the code do?
The code performs several functions as part of the serverless deploy:
- It provisions three resources within an AWS stack
- a Lambda function which fetches a quote of the day from They Said So Quotes
- an S3 bucket
- a DynamoDB table
- Following a successful deployment and resource allocation, it calls the serverless-s3-sync plugin to copy a local
names.json
file into our provisioned S3 bucket. - Finally, it runs the local plugin, 'file-extractor' to extract the contents of the
names.json
file into our provisioned DynamoDB table