ichwansh03/hibernate-quarkus ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Quarkus REST API example that shows both the active record style and the repository pattern with Hibernate ORM and Panache.

I want a simple app I can run locally, connect to PostgreSQL, and use as a learning project for basic CRUD endpoints, entity setup, and service or repository usage. Please include a clean REST endpoint layer, a couple of sample models, and make sure it’s easy to test with Quarkus tests. If it makes sense, add the OpenAPI endpoint too so I can inspect the API in the browser.

Keep it beginner friendly and make sure it runs in dev mode with live reload. I’d also like the project to be ready to package and run normally from the command line. Use the current Quarkus docs online if you need to check anything.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab