Skip to content

kamereo/coding-tests

Repository files navigation

KAMEREO Coding Test

Question 1

Question 2

At KAMEREO, we internally use gRPC between the inter-service communication. Imagine we introduce a new service to manage promotion code. You can find the API definition in promotion_service.proto under src/main/proto/kamereo/hiring_test. GetPromotion API is responsible for returning the matching promotion with the given promotion_code and user_id. When there is no valid promotion found, the API should return NOT_FOUND. Please implement vn.kamereo.hiring_test.promotionservice.PromotionServiceGrpcImpl#getPromotion using vn.kamereo.hiring_test.promotionservice.repository.DummyPromotionRepository#getPromotion method.

useful tools:

Evaluation Points

  • Code Quality
  • Abstraction
  • Test Coverage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published