rushi-desai/ShopSphere ? reverse-engineered prompt
Reverse engineered prompt
Build me the backend for an online store called ShopSphere.
I want a TypeScript API that lets people register and log in, browse products and categories, manage a cart, place orders, save addresses, leave reviews, and handle payments. It should also support admin access so I can create, edit, and delete products and categories, update order and payment status, and moderate reviews. Regular customers should only be able to work with their own data.
Please make it use PostgreSQL for storage, Prisma for the database layer, JWT for login, and request validation so bad input gets rejected cleanly. I’d like the project to be easy to run locally with a clear env file, database migrations, and a simple start command. If useful, check the current docs online for any setup details that have changed. Also include basic health check routes and make it work well in Docker.
Are you gonna build this?
make sure you review the code using coderabbit