sinasina444/SpringRunningLocationService ? reverse-engineered prompt

Reverse engineered prompt

Build me a Java Spring based app that simulates runners in real time and lets me monitor their live location and health status from a simple web page.

I want it split into a few small services, one for generating the location data, one for updating and storing it, one for serving the current locations, and one for displaying everything on the front end. Use live updates so the page refreshes automatically as new runner positions come in, and include basic health checking for the services too.

Please wire the services together in a microservices style setup, with service discovery, REST APIs, message passing for updates, and persistence in both a relational database and MongoDB where it makes sense. I’d also like it containerized so I can run the whole thing with Docker, and if you need to check current Spring docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab