Golang Mini Rest API
Please write a mini REST API connected to a Go microservice to search movies from http://www.omdbapi.com/
Access credentials :
OMDBKey : “???”
URL : http://www.omdbapi.com/
* Example url call to search is –> GET http://www.omdbapi.com/?apikey=????=Batman&page=2
Tools/Implementation principles required such as :
– gRPC
– Clean architecture
– Go Kit
– API Gateway
– Unit tests
The API should :
– Have 1 endpoint named “/search” with GET method that will access API GW
– Have the API GW to call the microservice called Movie via gRPC’s protobuf
– The parameters are “pagination” and “searchword”
– Returns a JSON to client containing the list of the search result