Inspiration

To learn how much I can do with an AI coding assistant in just a month!

What it does

Provides a full stack trivia game that uses AI in every aspect of the game, from creating the code to creating the daily trivia questions on trending topics.

How we built it

Used multiple AI services and coding assistants, including OpenAI, Anthropic, Amazon Q, Codeium, Dall-E, and even ChatGPT. Made use of those tools to create a full stack trivia app deployed to the cloud and running in AWS Fargate.

Challenges I ran into

Sometimes the AI agents took me in the wrong direction and I had to backtrack to fix something that had been working previously. This added level of frustration; but, the speed of using the AI agents and services more than made up for this.

Accomplishments that we're proud of

The ability to get this project completed on time and the speed in which I was able to move things from my local Docker environment to AWS Fargate.

What we learned

A ton about how to use AI agents and how not to use them. How costly it can be if you rely on AI services too much without a very specific use case and outcome.

What's next for 60 Second Trivia Challenge

Update the variety of topics and questions. Cleanup the CSS Deploy to Lambda or EC2 to understand the different deployment options. Improve the leaderboard functionality and tie it back to a login.

Overview:

Trivia60 is a full-stack web application that combines vanilla JavaScript frontend with serverless AWS Fargate containers for the backend. The game presents players with trivia questions that must be answered within a 60-second time limit. Questions are dynamically fetched from a PostgreSQL database through the get-questions API, while scores and player rankings are maintained via the leaderboard API. Key Features 60-second time limit for each game session Real-time scoring and timer functionality Global leaderboard with persistent rankings Dynamic question generation and retrieval

Technical Stack Frontend: HTML5, CSS3, Vanilla JavaScript Backend: AWS Fargate (Node.js 18.x) Database: PostgreSQL on Docker Hosting: Amazon S3 with CloudFront CDN and Route 53 DNS Monitoring: CloudWatch for logs and metrics

Share this project:

Updates