Register
Submit a solution
The challenge is finished.

Challenge Overview

Welcome to Ragnar - Self Service Tool - Gitlab 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 second contest in the series.

 

Contest Details

In our app, the user will first authenticate with Gitlab. Following which, they will see the list of groups that they belong to. The user will then create a unique link for a group. If another user visits this unique link, they are added to the group associated with the link.

 

The above is for your understanding only. For this contest, you need to only provide two gitlab services:

  1. One that lists all the groups that a user belongs to. Since the user would have already authenticated themselves earlier when they signed in to the app, you will list the same user’s groups

  2. One that adds a user to a group. Note the distinction here. There are two users in this action - one that is being added to a group and one who is the owner of the group and is thus authorized to add other users to the group. You will make use of the same authentication that the owner earlier provided when they signed in to the app.

 

Point to Note

  • We will share an existing code base with you in the contest forum. It contains the same services, but it integrates with Github instead. Don’t make any changes to the existing services. Instead build upon it and add the two new gitlab services.

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

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

  • Provide mocha tests along with chai.

  • The major requirements are creating the service for the two APIs mentioned above. Tests, http server, POSTMAN collection are minor requirements.

  • Please follow the same conventions used in the Github service



Final Submission Guidelines

Zip your changes. Update the existing README file with deployment and usage instructions if needed. 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: 30059108