API Gateway is used to manage and expose backend APIs securely. In Skai, we use Kong as the gateway for public APIs.
In addition, we use the API Gateway internally in the following scenarios:
- To solve CORS issues, usually when the UI needs to call a backend service directly.
- To trigger AWS Lambdas via REST calls. In this case, we use AWS API Gateway.
Kong configuration management is done using an internal tool called king-kong.