OutdatedGuy/Search-Trends — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple web app for searching Google Trends. I want a clean page where I can type in one search term, or compare up to 5 terms at the same time, then submit and see the trend results visualized clearly.

The app should use a small server endpoint that calls the Google Trends API on the backend, then the browser should fetch from that endpoint and draw charts for the results. Please show both a line chart and a bar chart using Chart.js so it’s easy to compare the searches. Keep the UI simple and friendly, with obvious inputs, a search button, loading state, and helpful error messages if the user enters nothing or tries more than 5 terms.

Use JavaScript with Express for the backend and Chart.js on the frontend. If you need exact library usage, look up the current docs online. Make it runnable locally with npm install and npm start.

Want more depth? Deep Reverse