Register
Submit a solution
The challenge is finished.

Challenge Overview

Welcome to Topcoder Submissions API - Set It Up. As part of this contest, you will proceed to set up Topcoder’s submission related api.

CAUTION: The submission phase for this contest is only 48 hours

Contest Details

Topcoder is starting to streamline its APIs and we are in the process of upgrading our existing APIs to version 5. One of the APIs is called Submission API. Kindly don’t confuse this with one of the resources in the Submission API, which is itself called Submission. The Submission API consists of 4 resources namely Submission, ReviewSummation, Review and ReviewType.

 

We earlier ran a contest to implement the Submission and ReviewType resources. For this contest, we would like you to work on the Review and ReviewSummation resources. Only these two resources are in scope. Go through the swagger specification for the project (that you can find in the project itself) and for each endpoint, update the provided code base to integrate with the database and actually implement all the endpoints for the two resources (as in, create should actually create data in the database, update should actually update data, etc).

You can refer to the existing implementation for Submission and ReviewType and follow the same convention here. Kindly don't introduce any bugs in the existing code base. You will not implement Pagination and the GET /resources endpoint (which returns all records) for both Review and ReviewSummation.

 

Additionally, you will also fix / provide the following:

  • All id fields will be uuid fields. Since DynamoDB does not provide for reference key implementations, you need to manually check for existence of reference keys

  • Note that there is a difference between the PUT and PATCH requests. Implement them accordingly.

  • You are expected to update the POSTMAN collection and add endpoints for the new resources

  • For authentication, we are making use of jwt tokens. Kindly refer to the existing auth implementation and reuse the same.

 

Points To Note

  • Ensure that there are no lint errors.

  • While you are not expected to return all the http status codes for an endpoint, you are expected to use the status codes correctly.

  • The database to use would be AWS Dynamodb.

  • Use Nodejs version 8

  • Follow the swagger specification for implementation details of the endpoints.

  • Swagger UI to view the specification should continue to work



Final Submission Guidelines

Zip and upload the code to Topcoder.

 

ELIGIBLE EVENTS:

2018 Topcoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30067338