Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Welcome to the Rewrite Python script to Nodejs challenge. This challenge is to convert an existing script written in Python to a service script in Nodejs.

 

Challenge Details

The challenge is quite straightforward.

We will provide you with an existing script written in Python. You need to rewrite this script as a service in Nodejs.

 

We already have a base libraries nodejs module that contains many services. You need to use the same design patterns and conventions used in the existing module and create a new service.

 

You can call this the “Einstein” service. From the provided python script, you need to rewrite all the accessor and mutator methods in javascript. This includes:

  1. find

  2. fetch (from the loadXXX() methods)

    1. customerData

      1. name

      2. fullName

      3. homeAddress

    2. billingData

      1. balanceDue

      2. newCharges

      3. dueData

      4. billContent

    3. wifiData

      1. wifiSettings

      2. primaryWifiNetwork

      3. wifiName

      4. wifiPassword

    4. serviceAppointment

    5. videoDeviceNames
  3. set

    1. wifiPassword



Final Submission Guidelines

  1. Since you will be creating a new service in an existing module that contains many more services, try reusing many of the modules that already exist. Do not use alternative libraries (for example using lodash instead of underscore which already exists for the project) and do not create your own configurations or helper functions. Reuse the existing code as much as possible.

  2. Follow the existing design pattern of the provided base libraries module. DO NOT create unnecessary folders and files. Only update what is required.

  3. Video is not required for this challenge

  4. You need to provide tests in line with the tests for other services in the module.
  5. Winner will be required to submit a merge request ot the project's repository

ELIGIBLE EVENTS:

2016 TopCoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30051841