How to write API gateway?

We have small, small microservices. we have to integrate API gateway. Is there any example code for that.

1 Like

Maybe the ReverseProxy in httputil can be a good building block.

2 Likes

If you don’t need service discovery, load balancing, rate limiting, monitoring, authentication just go for ReverseProxy as @calmh suggested, otherwise try to use one in the market.

2 Likes

i don’t idea about reverseproxy. can you have any sample code

  1. https://www.krakend.io

  2. konghq

  3. tyk.io/features/api-gateway

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.