Challenge Overview
We want to move the legacy Review Opportunities page to community-app.
In this challenge, we will focus on the back-end side of this page.
Detailed requirements
We want you to create a new endpoint (GET /reviewOpportunities) in https://github.com/appirio-tech/ap-review-microservice that will return the available Review Opportunities as an array of objects.
The attributes we need to return for each opportunity object are:
-
Review Opportunity ID
-
Review Start date
-
Submissions
-
Reviewer payment
-
Open positions
-
Type (spec review / review)
-
Challenge Title
-
Challenge ID
The accepted parameters and the expected responses are described in the swagger.yaml.
Also, you need to update the Postman collection with tests for the new endpoint.
Please request access to the GitHub repo in the challenge forum.
Helpful links
Here are some files from the legacy app that may help you understand how the old page works and how to fetch the required data.
Feel free to ask any question in the challenge forum.