coderaahacademy/medtrack ? reverse-engineered prompt
Reverse engineered prompt
Build me the MedTrack backend as a Spring Boot app in Java 21, with a clean controller, service, and repository structure. I want it to behave like a real team project, with simple, readable code, constructor based injection, and a working H2 database for local development.
Please include secure login with JWT and role based access, since that’s part of the project docs. Make sure the app runs locally on port 8080 and the H2 console works too. If you need to check the latest Spring Security or JWT setup details, look up current docs online.
Keep it professional and easy to test, with clear request and response models, and make sure the project starts without errors. If there are any obvious missing pieces, fill them in in the simplest sensible way so the backend feels complete and ready for API testing.
Are you gonna build this?
make sure you review the code using coderabbit