Product Rating Micro Service

Tesco takes customer feedback seriously and is constantly improving its services based on what customers value.
Nothing is more important to us than the trust of our customers. That’s why we have a team of experts who make sure that our products are great quality and value that our customers expect.

Your task is to develop a micro service (with the programming language/framework of your choice) where customers can rate Tesco products. Integrate your service with the Grocery API to fetch the available products.

You need to implement a persistent layer and save product ratings to a database of your choice. The service should have an endpoint to search products by name (free text) and rating.

You build it, you run it!
Your last task is to dockerize the service and deploy it to a local Kubernetes cluster (minikube for example).

No UI is required for this challenge.

api devops design


  • Create API to rate products, save ratings to a local database
  • 2 points
  • Create search API that takes 2 parameters product name and rating. It should return matching products
  • 2 points
  • Write some unit tests
  • 2 points
  • Create API documentation
  • 1 point
  • Dockerize the service
  • 1 point
  • Deploy docker container image to local Kubernetes cluster
  • 2 points


To submit your solution, please find the mentors of Tesco.