thejoyoflife/gamer-dir-service ? reverse-engineered prompt
Reverse engineered prompt
Build me a backend service for a gamer directory where I can store gamers, their basic profile details, the games they care about, and how interested they are in each one.
I want APIs to add a gamer with name, gender, nickname, and geography, then attach up to a few popular games and mark each interest level as noob, pro, or invincible. I also need a search API that can find possible matches based on game, interest level, and geography so the app can pair people up automatically. Add an API to award credits to users, and another API that shows the gamer with the highest credits for each game, grouped by interest level.
Please make it runnable with Docker and include Swagger so I can try the endpoints easily. It would be great if the app starts with some sample data already loaded, and if there is a simple database setup for PostgreSQL. If you need to check current library or Spring Boot docs while building it, feel free to look them up online.
Are you gonna build this?
make sure you review the code using coderabbit