Challenge Overview
Challenge Objectives
-
Update the /v3/members/{handle} endpoint to return data from /v2/users/{handle}.
Project Background
We’re in the process of adding support to store more information about our users as traits in order to improve the overall user experience in our platform.
Technology Stack
-
Java 8
-
Maven 3
-
Docker and Docker Compose
-
DynamoDB
-
AWS
-
ElasticSearch
Code Access
Existing Code: https://github.com/appirio-tech/ap-member-microservice
Branch: dev
Legacy code (v2 API): https://github.com/appirio-tech/tc-api
You will find a self registration link attached on the forum in case you don’t have access to the repo.
If the self registration link does not work for you, please request access by posting your Github username on the challenge forum.
Individual requirements
-
You need to update the /members/{handle} endpoint to also return the properties that the V2 API (/v2/users/{handle}) currently returns. Refer to the legacy code to see the properties. The idea is to make the V2 API redundant.
-
Make sure to check and mimic the properties returned by the API based on the authentication (unauthenticated/authenticated calls).
-
Update the swagger document as well as the POSTMAN collection (if needed).
-
Make sure the existing tests pass after your changes.
Feel free to ask any questions on the challenge forum!
What to Submit
Submit a git patch against the latest commit in the dev branch.
The winner must create a pull request against the dev branch in our repo.