एक API gateway एक एकल प्रवेश बिन्दु हो जो backend सेवाहरूको सामने बस्छ — routing, authentication, rate limiting, र अन्य जस्ता cross-cutting concerns हरू सम्हाल्छ। यो विशेष गरी microservices architectures मा साधारण कार्यक्षमता केन्द्रीभूत गर्न उपयोगी छ।
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
