Challenge Overview

Challenge Objectives

  • Remove dependency on the V2 API.

Project Background

We are in the process of migrating many of the legacy pages of our platform to the new Community App repo based on a newer technology stack and improve the overall user experience.

Technology Stack

  • Node.js

  • JavaScript

  • React.js

Code Access

The work is to be done in the Community App repo, out of the latest commit in develop branch.

Individual requirements

Currently, the Dashboard (https://www.topcoder.com/my-dashboard) and the Public Profile (https://www.topcoder.com/members/thomaskranitsas) pages still use the V2 API (https://api.topcoder.com/v2/users/thomaskranitsas) to read information about the user. Recently, we updated the V3 API so the V3 API return all properties that we were reading from the V2 API.

You need to:

  • Update the topcoder-react-lib and/or the community-app so we no longer use the V2 API to read member related information.
    One example where we use the V2 API is the user’s achievements.

  • Update all related documentation if needed.

Important Notes

  • The updated V3 only works in the development environment (api.topcoder-dev.com).

  • You should follow the best practices established in the repository:

  • We use this stand-alone library: https://github.com/topcoder-platform/topcoder-react-lib for any actions/reducers/services of current ReactJS based app.

  • As part of this challenge submission, you also might need to improve https://github.com/topcoder-platform/topcoder-react-lib for any actions/reducers/services updates

  • Properly use Redux. Properly split code into reusable, self-contained React components, conveniently grouped inside folder structure;

  • Do not violate ESLint rules for JS code, nor StyleLint rules for SCSS;

  • Properly use babel-plugin-react-css-modules and / or react-css-themr for styling;

  • Use SCSS variables and mixins from the global stylesheets (/src/styles/_tc-styles.scss). Especially, when it relates to colors, fonts, etc;

  • Do not break existing unit tests.

  • Etc.;

 

Should you have any doubts, do not hesitate to ask for clarifications in the challenge forum!

Submission deliverables

- Submit a git patch for the latest commit in the develop branch of each repo.

- Make sure to mention the exact commit so we can apply your patch file.

- The winner must create a PR against our repos:

- https://github.com/topcoder-platform/community-app

- https://github.com/topcoder-platform/topcoder-react-lib



Final Submission Guidelines

Please see above

ELIGIBLE EVENTS:

Topcoder Open 2019

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30072951