An API gateway is a single entry point that sits in front of backend services — handling cross-cutting concerns like routing, authentication, rate limiting, and more. It's especially useful in microservices architectures to centralize common functionality.
What an API gateway does
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
