Challenge Overview
Context
Project Context
Topcode Connect - the client-facing application of Topcoder. Customers may create Topcoder projects there and Topcoder managers and copilots pick it up from there.
Challenge Context
Topcoder Project Service is the main backend service of Topcode Connect. For development purposes, we can run Topcoder Project Service locally on Linux and macOS. But we cannot run in on Windows without modifying npm commands.
Expected Outcome
We should be able to successfully run Topcoder Project Service for local development on Windows 10, Linux, and macOS.
Challenge Details
Technology Stack
-
Node.js
-
NPM
Code access
The work for this challenge has to be done in one repository:
- Project Service repo https://github.com/topcoder-platform/tc-project-service branch `feature/local-setup-windows` commit `4afb2cabb4bd767d29f0e4a92732007fb92fbd16` or later.
- Follow "Local Development" guide to setup the app locally.
- Config for local setup is provided on the forum.
Individual requirements
-
All the NPM commands should work properly when we run them on Windows 10 without using WSL i. e. in the standard command line terminal "cmd".
-
Don't create separate commands for different OS. The same commands should work on all 3 OS: Windows, Linux, and macOS.
-
Note, some NPM commands use "dotenv" package to pick up environment variables from ".env" file. It should work on all 3 OS.
-
It's recommended to use "cross-env" package to support NPM commands on Windows as we do in other repositories like "community-app" and "connect-app".
General requirements
-
Git patch should be without errors or warnings
Verification video
Please, provide a verification video which clearly demonstrates that commands "npm run local:init" and "npm run start:dev" work good on 2 OS: on Windows 10 and macOS (or Linux).
Scorecard Aid
-
This challenge would be scored using the Generic F2F Review Scorecard 1.0.0 scorecard.
-
Submission without a verification video would not be reviewed.
-
Submission would be tested on macOS 10.15.4 with "zsh" and "bash" shells. And on Windows 10 inside a virtual machine via Parallels Desktop.
If you have any questions or concerns, please, feel free to ask on the forum.
Final Submission Guidelines
Submit a zip file which would include:
-
Git patch with changes you’ve made to the code in our repository.
-
Video file(s) or link(s) to the verification video.
Additionally, the winner would be required to raise a pull request to the repository after the challenge is completed.