Un API gateway è un singolo punto di ingresso che si trova davanti ai servizi backend — gestisce responsabilità trasversali come routing, autenticazione, rate limiting e altro. È particolarmente utile nelle architetture a microservizi per centralizzare la funzionalità comune.
Cosa fa un API gateway
The API GATEWAY is a single entry point in front of backend services:
Client → API GATEWAY → ┬→ Service A
├→ Service B
└→ Service C
→ handles cross-cutting concerns in ONE place (so services don't each implement them)
→ routes requests to the right service; abstracts the backend from clients
