sahildevopss/mern-crud-dockerized ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple user management app where I can add, view, edit, and delete users.
I want it as a MERN app with a React frontend, a Node and Express backend, and MongoDB for storage. Please make it ready to run with Docker Compose, with the frontend served through Nginx, the backend running in its own container, and MongoDB using a persistent volume so the data stays saved after restart. The app should work cleanly through the browser on one public port, with the frontend talking to the backend using relative API routes instead of hard coded local addresses.
Please include the environment setup, a sample env file, and make sure the project can be started easily with Docker commands. If you need to check current Docker or Nginx docs while setting it up, go ahead. Keep it straightforward and production friendly, and make sure the CRUD flow actually works end to end.
Are you gonna build this?
make sure you review the code using coderabbit