tehreem916/MERN-CRUD-integration ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple full stack app where I can add, view, edit, and delete user records, with fields for name, email, and age.
I want the frontend in React with a clean, basic Bootstrap style, and the backend in Node and Express with MongoDB for saving the data. The app should load all users on the page, let me create a new one, open an edit form for existing users, and delete users after a confirmation. Please connect the frontend to the backend with Axios and make sure the API works both locally and in production by using an environment variable for the base URL.
Set it up so the backend has clear routes for getting all users, getting one user, creating, updating, and deleting. Use MongoDB Atlas for storage, and keep sensitive connection details in an env file. If you need current setup details, check the latest docs online and make it run smoothly end to end.
Are you gonna build this?
make sure you review the code using coderabbit