JAVA SCRIPT LESSON J17
Open a terminal in the extracted companion/javascript/j17 folder.
Node tasks require Node.js >=22: verify with node --version.
Python commands can use py instead of python on Windows.
python server.py
# A separate terminal:
python -m unittest -v test_server.py
node --test report.test.mjs
Browser labs: open http://127.0.0.1:8000/ after starting the server.
Stop a server with Ctrl+C. No external services or subscriptions are used.
Exercises and separated answers are in the book and ../solutions/J17.md.
