salah-rabii/devoir_reactjs ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple React app with Vite that uses the local db.json file as its data source through json server.
I want a clean, working starter app that can load data from that local API and show it in the browser in a nice, responsive way. If it makes sense, add basic create, edit, delete, and refresh behavior so I can manage the records easily. Keep the UI simple and polished, with loading and error states, and make sure everything runs smoothly in development.
Please wire it up so I can start the app and the local JSON server separately, and make the project feel finished enough that I can open it and use it right away. If you need to check current docs or best practices for Vite or React, go ahead and look them up.
Are you gonna build this?
make sure you review the code using coderabbit