AndresRojas0/project-ecommerce-rest ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple ecommerce REST API in Django for practice. I want it to feel like a real backend project, not just a demo. It should have users, products, and categories, with full create, read, update, and delete actions. Add registration and login, token based auth with JWT, logout, token refresh, and password handling done safely. Products should be linked to categories, include image support and stock control, and return clean JSON responses.
Please include API documentation I can open in the browser, basic CORS setup so a frontend can connect later, and a few unit tests for the main flows. I also want the admin to work well for managing data. Keep the code organized and easy to learn from since this is a study project. If something is missing or outdated, look up the current docs online and wire it up in a sensible way. Also leave it ready to run locally with environment variables and requirements installed from a file.
Have a live product UI? Try website reverse