πŸš€ Inspiration

Shopping online should be easy, but sifting through hundreds of reviews to find the best product can be time-consuming and frustrating. πŸ›’β³

We thought: What if AI could summarize reviews for you? Instead of spending hours reading, you’d get a concise breakdown of the pros, cons, and overall sentiment for any product.

That’s how ComparaSum was bornβ€”a tool that helps users quickly compare products and make informed buying decisions without the hassle of endless scrolling.


βš™οΈ What It Does

ComparaSum is an AI-powered review summarizer that makes shopping faster and easier by:

βœ… Summarizing reviews for a given ASIN (Amazon Standard Identification Number)
βœ… Highlighting key pros & cons to help with decision-making
βœ… Comparing multiple products side by side
βœ… Providing overall sentiment analysis based on thousands of reviews

Right now, we’re focused on Beauty & Personal Care products πŸ’„πŸ›, as handling all of Amazon’s data would be too much. Our data goes up to 2023, ensuring relevant insights.


πŸ—οΈ How We Built It

Our system is built using a full-stack approach with LLMs, AWS, and MySQL:

πŸ”Ή Backend: Python + Flask to fetch and process data
πŸ”Ή Frontend: React + TypeScript + Tailwind CSS for a clean UI
πŸ”Ή Database: MySQL RDS storing Amazon review data
πŸ”Ή LLM Model: Llama via Groq for fast, high-quality text summarization
πŸ”Ή Cloud Infrastructure:

  • EC2 instance to store and process the raw review dataset
  • MySQL RDS to manage structured product data

How It Works:

1️⃣ We downloaded a massive dataset of Amazon reviews to an EC2 instance
2️⃣ Data was structured & stored in MySQL RDS
3️⃣ A Flask backend fetches relevant reviews based on ASIN
4️⃣ Our LLM model (Llama via Groq) summarizes the data
5️⃣ The React frontend displays the summarized insights


βš’οΈ Challenges We Ran Into

πŸš€ AWS Setup – Setting up EC2, RDS, and networking for the first time was a steep learning curve
πŸ”— Database Connectivity – Making MySQL RDS work with EC2 & Flask required debugging
πŸ€– Choosing the Right LLM – We tested multiple models before finding Llama via Groq for the best balance of speed & accuracy
⚑ Time Constraints – Since this was our first hackathon, working under pressure to build a full-stack AI app was a challenge!


πŸ’ͺ Accomplishments That We're Proud Of

βœ… Built a working AI-powered summarization tool πŸŽ‰
βœ… Successfully set up AWS infrastructure from scratch ☁️
βœ… Learned to work with EC2, RDS, and MySQL Workbench πŸ› οΈ
βœ… Created a React + Flask web app with real-time data fetching πŸ”₯
βœ… Many of us were first-time hackathon participants, and we delivered a functional product! πŸš€


πŸ“• What We Learned

πŸ”Ή How to deploy & manage AWS services (EC2, RDS, S3, networking)
πŸ”Ή Working with large-scale datasets in MySQL
πŸ”Ή Optimizing Flask + React for better performance
πŸ”Ή Efficient LLM-based text summarization
πŸ”Ή Debugging database & API issues under time pressure


πŸ‘€ What's Next for ComparaSum

πŸ”— Accept direct Amazon links, not just ASINs
πŸ—‚οΈ Expand the dataset beyond Beauty & Personal Care
πŸ–ΌοΈ Include product images from reviews (already stored in our database)
⚑ Improve LLM efficiency for even faster summaries
πŸ“± Make the UI more mobile-friendly


πŸ› οΈ Built With

🐍 Flask | βš›οΈ React | πŸ’… Tailwind CSS | 🌐 AWS (EC2, RDS) | πŸ€– Llama (Groq) | πŸ—„οΈ MySQL | πŸ”₯ TypeScript

πŸŽ‰ We had a blast building ComparaSum and can’t wait to improve it! πŸš€

Share this project:

Updates