Challenge Overview
For this challenge, we'd like to re-implement the challenge results API in Challenge Service from our old v2 APIs.
1. the endpoint should like
GET v3/challenges/{id}/results
2. The logic should be similar from v2 api, notes, we consolidate it as one endpoint now.
- https://github.com/appirio-tech/tc-api/blob/dev/routes.js#L268
- https://github.com/appirio-tech/tc-api/blob/dev/routes.js#L278
- https://github.com/appirio-tech/tc-api/blob/dev/actions/challenges.js#L2298
3. swagger.yaml file is already updated according to the v2 implementation, please fix or improve it when you are implementing the logic in challenge service.
4. Please add the postman scripts in docs directory for ease of test.
Local Setup
- Please follow Build and Run with Docker compose to build and run direct app and online review locally
- Follow the README.md file to build and start the challenge service.
- Verification Steps
1. the endpoint should like
GET v3/challenges/{id}/results
2. The logic should be similar from v2 api, notes, we consolidate it as one endpoint now.
- https://github.com/appirio-tech/tc-api/blob/dev/routes.js#L268
- https://github.com/appirio-tech/tc-api/blob/dev/routes.js#L278
- https://github.com/appirio-tech/tc-api/blob/dev/actions/challenges.js#L2298
3. swagger.yaml file is already updated according to the v2 implementation, please fix or improve it when you are implementing the logic in challenge service.
4. Please add the postman scripts in docs directory for ease of test.
Local Setup
- Please follow Build and Run with Docker compose to build and run direct app and online review locally
- Follow the README.md file to build and start the challenge service.
Final Submission Guidelines
- Code change- Verification Steps