Challenge Overview
Challenge Objectives
-
Update the provided processors based on the detailed requirements below.
-
Clean up the code in the provided repos.
-
Update/create tests in the two provided processors.
Project Background
We’re in the process of revamping our platform and adding support to store more information about our users as traits in order to improve the overall user experience on our platform.
Technology Stack
-
Node.js
-
Kafka
-
InformixDB
-
Docker
Code Access
Repos:
Branch: develop
Detailed requirement
1. Update the legacy submission processor (legacy-sub-processor)
-
The legacy submission processor must be updated to ignore submissions from MM challenges.
2. Update the legacy MM processor (legacy-mm-processor)
Wil will find the detailed requirements for this attached on the challenge forum in a Markdown document.
3. Clean up the code
You need to clean up the code in all provided repos.
-
Refactor the code as you feel required to improve the code quality.
-
Add comments where needed.
-
Make sure the code follows the https://standardjs.com/ guidelines.
-
Properly update the README.md file on each repo.
There seems to be a small bug here thus sometimes, submission URL is not getting updated properly
4. Unit Testing
-
Fix failing tests in both processors.
-
Create new tests for the changes you will make in both processors.
The processor module does not have any tests.
What to Submit
Submit:
-
Git patch for the latest commit in the develop branch of each repo. Make sure to note the exact commits you used so the reviewers can apply your patch files.
-
Instructions on how to apply your patch files and test your submission.