a full stack application with React and AWS that generates obituaries for people (fictional or otherwise). uses ChatGPT to generate an obituary, Amazon Polly to turn the obituary into speech, and Cloudinary to store the speech and a picture of the deceased (may they rest in peace).
-
created all your resources on AWS with Terraform. Put all your configuration in the
main.tffile -
used AWS DynamoDB for the database
-
used Lambda Function URLs for this assignment to connect your backend to the frontend
-
created 2 Lambda functions for this assignment:
-
get-obituaries-<your-ucid>: to retrieve all the obituaries. Function URL only allowsGETrequests -
create-obituary-<your-ucid>: to create a new obituary. The function reads all the data (including the picture) from the body of the request. Function URL only allowsPOSTrequests -
use Python to write the functions
-
used the Cloudinary Upload API and not the SDK to interact with Cloudinary.
-
used the ChatGPT API and not the SDK to interact with ChatGPT
-
used Amazon Polly to turn the obituary written by ChatGPT to speech and then upload the
mp3version of that to Cloudinary. Read more about the Polly API here. What you need is thesynthesize_speechmethod