Microservices In Practice: Developing Instagram Clone —Gateway Service
Published in
2 min readJun 23, 2020
This is part 8 of Developing Instagram Clone series, other parts are linked below
- Developing Instagram Clone: Introduction.
- Developing Instagram Clone: Discovery Service.
- Developing Instagram Clone: Auth Service.
- Developing Instagram Clone: Media Service.
- Developing Instagram Clone: Post Service.
- Developing Instagram Clone: Graph Service.
- Developing Instagram Clone: Newsfeed Service.
- Developing Instagram Clone: Gateway Service.
- Developing Instagram Clone: Front-end Service
In Microservices architecture the system is split into multiple services, these services shouldn’t be visible to the consumer (the front-end in our case).
You should provide a unified interface to the consumers, this unified interface is the gateway service.
API Gateway Benefits
- Serves as a single point of entry: An API gateway is a single point-of-entry (or “gateway”) for the group of Microservices that sit behind it.
- Authentication and authorization: An API gateway makes sure that the client has the rights to…