Chat Application with Jokes Bot

Chat Application with Jokes Bot

Modern chat applications have functionality beyond simply passing messages across. In this project, we’ll create a chat application with enhanced functionality. Here we have a bot listening to the conversation, such as when one user sends a random joke to another.

The user sends a message, /joke, which is parsed by the Lambda function to get a random joke. This joke is then sent to the other user.

Any message one user sends is forwarded to the other user. However, if the message is /joke, it’s intercepted by the system and the other user sees a random joke instead.

Throughout the course, we used CloudFormation templates. In this project, we’ll get a feel for the web console as well.

WebSocket chat
WebSocket chat

Note: We use the web console here to simplify the demonstration. In a real application, IaC is always the preferred approach.