Challenge Overview

Welcome to Ragnar - Self Service Tool - Github Integration. This is a series of contests that will require you to create a MEAN stack based application to allow topcoder members to authorize themselves to private repositories on Github and Gitlab. This is the first contest in the series.

 

Contest Details

For this contest we would like you to create a service that uses Github’s API that carries out the following actions:

  1. List teams that a user belongs to - the user here will be the user that has authenticated with the API.

  2. Add a user to a team

 

For both services you will have to first setup authentication (or reuse it if the user is already authentication, say, when executing the first service and then trying out the second service).

 

Point to Note

  • Use Nodejs version 8

  • You need to provide HTTP routes that end up calling your service to prove that the services work as expected. Provide POSTMAN collection for us to test the same.

  • You need to make use of Topcoder’s own eslint configuration

  • You can make the assumption that when adding the user to a team, the authorization for that request is from the owner of the organization associated with the team. This implies that your submission should also make provisions to authorize the user before it issues the API call.

  • Provide mocha tests along with chai.

  • The major requirements are creating the service for the two APIs mentioned above. Tests are minor requirements.



Final Submission Guidelines

Zip your changes. Provide a README file with deployment and usage instructions. Upload it to Topcoder. The winner will be asked to create a Pull Request to our repository.

ELIGIBLE EVENTS:

2018 Topcoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30058972