En API gateway er et enkelt indgangspunkt, der placeres foran backend-services — håndtering af tværgående bekymringer som routing, autentificering, rate limiting og mere. Det er især nyttigt i microservices-arkitekturer til at centralisere almindelig funktionalitet.
Hvad en API gateway gør
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
