Un API gateway este un singur punct de intrare care se află în fața serviciilor backend — gestionând preocupări transversale precum rutarea, autentificarea, rate limiting, și altele. Este deosebit de util în arhitecturi cu microservicii pentru a centraliza funcționalitatea comună.
Ce face 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
