[72 Hours] Upgrade Existing Nodejs Application

Register
Submit a solution
The challenge is finished.

Challenge Overview

Welcome to the Upgrade Nodejs application contest. As part of this contest, we are looking to upgrade our existing Nodejs app from v0.10 to v4.2.

 

Contest Overview

We have shared an application with you in the contest forum, visible only after registration. This application currently requires Nodejs v0.10. Unless you have been living under a rock, the latest version of Nodejs is 5.5.0 (Stable). We would like to go upgrade the application to the Long Term Support release of v4.2.6.

 

Thus, as part of this contest, kindly upgrade the Nodejs version from 0.10 to 4.2 and ensure that the application can be easily deployed and that it continues to function. Without this upgrade, in its current state, the application cannot be deployed effectively due to outdated dependencies.

 

As part of this contest, your tasks are as follows:

  1. Upgrade Nodejs from v0.10 to v4.2 (LTS)

  2. Upgrade all the dependencies in the package.json file too. This includes the build tools and the test tools as well.

  3. Use tilde (~) instead of caret (^) for your dependencies.

  4. If there is any dependency that is completely outdated or obsolete or there is a better alternative, you are allowed to replace the dependency with another equivalent / better one.

  5. The application is intended to be deployed on Heroku. Kindly ensure that your upgrade does not prevent this.

  6. Use the corresponding npm for that nodejs version. Also, do specify the nodejs version in the package.json file as the “engine” attribute.

  7. Update the Deployment Guide. If you wish to start from scratch here, you can do so. Follow this Deployment Guide template.

  8. Your Deployment Guide should also contain steps to deploy to Heroku. If there is any add-on that is required to be added, do mention that.

  9. Lints and Tests should run successfully.

  10. A change in the configuration is needed. Currently each service shares the same base url. You need to change this and provide each service their own url. More details provided in the contest forum


Final Submission Guidelines

You can either submit a git patch of your changes or a zip file containing the entire application. Make sure that you do not share the node_modules folder if you are providing the entire application.

Either provide an unlisted / private video or provide Verification Steps in the Deployment Guide.

ELIGIBLE EVENTS:

2016 TopCoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30052859