Challenge Overview
Previously, we have implemented the challenge details endpoint in v2 API (see https://github.com/appirio-tech/tc-api/blob/dev/actions/challenges.js#L2516-L2559)
For this challenge, we'd like to reimplement in Challenge Service (v3 API), the endpoint should be like GET v3/challenges/<challengeId>, so we can retire the v2 API finally.
1. The logic should same as the v2 API implementation
2. The cache logic should be implemented.
3. User Challenge Eligibility should be properly checked as the current implementation.
4. Please create postman script for the functional testing purpose.
5. swagger.yaml file should be updated to describe the new API properly,
About Local Setup
1. Please follow Build and Run with Docker compose section to setup and run the local environment, run `docker-compose up tc-direct-with-volume run-online-review`
2. Update the local/run.sh to run the challenge service
For this challenge, we'd like to reimplement in Challenge Service (v3 API), the endpoint should be like GET v3/challenges/<challengeId>, so we can retire the v2 API finally.
1. The logic should same as the v2 API implementation
2. The cache logic should be implemented.
3. User Challenge Eligibility should be properly checked as the current implementation.
4. Please create postman script for the functional testing purpose.
5. swagger.yaml file should be updated to describe the new API properly,
About Local Setup
1. Please follow Build and Run with Docker compose section to setup and run the local environment, run `docker-compose up tc-direct-with-volume run-online-review`
2. Update the local/run.sh to run the challenge service
Final Submission Guidelines
- Code Changes
- Verification Setup
- Verification Setup