malekverse/tunisiaflicks ? reverse-engineered prompt
Reverse engineered prompt
Build me a modern Next.js app called TunisiaFlicks that lets people browse movies and TV shows using the TMDB API.
I want a clean, polished homepage where users can see the latest releases, popular titles, and basic show and movie stats, then click through to a detail page for more info. It should feel like a real streaming platform, with smooth navigation, search, and a responsive layout that works well on mobile and desktop.
Please also add secure user authentication and protect the important account and route pages so only signed in users can access them. Keep the design simple but premium, and use the existing TypeScript and Tailwind setup. If you need to check the latest TMDB or Next.js docs online, go ahead.
Make it feel production ready, with sensible loading states, error handling, and a nice overall user experience.