nodejs-code-challenge-framework is a mini server and test environment for debugging and solving various coding challenges.
servers→ contains the Express server app.scratchpad→ a workspace for testing code and running small functions.
Install dependencies:
yarn installThis project is designed to run on Node.js >= 22.
I usually write in this project as a quick scratchpad to test and debug functions. It’s especially convenient with VSCode Debug:
- Open the scratchpad.ts file.
- Write the code or function you want to test.
- Set breakpoints if needed.
- Run using the Debug Scratchpad configuration in VSCode.
- Quickly inspect outputs, variables, and behavior without setting up a full project.
This makes it very fast to experiment with ideas or verify code snippets.
yarn build
yarn startUse the VSCode Debug server (with auto restart) debug command.
Tests are located inside the TESTS folder.
yarn test
# or
yarn test:coverageUse the VSCode Debug Jest Tests debug command.