ShuklaDevRatan/gateway-lab ? reverse-engineered prompt

Reverse engineered prompt

Build me a small but realistic API gateway project that shows how routing, authentication, and rate limiting work together.

I want a gateway service that sits in front of a user service, with request forwarding, basic auth handling, and distributed rate limiting backed by Redis. Use MySQL for storing user data or anything the app needs to persist, and make it easy to run everything with Docker. Keep it simple enough to understand, but make it feel like a real production setup, with clean endpoints, sensible configs, and a smooth local setup.

If you need to check current docs for Spring Boot, Redis, or Docker details, go ahead and look them up. Please wire the pieces together so I can run the whole thing locally and test the gateway behavior end to end.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab