zainabfatema93-wq/nexflix-backend ? reverse-engineered prompt
Reverse engineered prompt
Build me the backend for a Netflix style app.
I want user signup and login with protected routes, MongoDB for storing users and any saved data, and API integration with TMDB so the app can fetch movies, TV shows, trending content, and search results. Make it work as a clean Express server that I can connect to a frontend later, and organize the code in a simple way with separate route and database handling.
Please include the basics I would expect for a real app, like secure password handling, authentication middleware, and helpful error responses. If there are any environment variables or setup steps needed, please wire those in too. I also want it ready for deployment, so make sure the server can run properly in production and on a platform like Vercel.
If you need to check current docs for anything, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit