This example code was used in my Tuesday Lunch & Learn series. See that link for for more information and an archive of past episodes.
Use the tags in this repo to see the code for specific episodes. For example, 2020-09-29 has the code for the beginning of the September 29th episode, and 2020-09-29-end has the code for the end of the episode.
To run the code in this repository, install Node.js. Make sure you have version 14 or higher. Then:
-
Run
./run.sh [text]to run the command-line application. -
Run
./build.shto lint and test the code once, or./watch.shto do so every time a file changes. -
Use
./build.sh quickor./watch.sh quickto perform an incremental build, and./clean.shto reset the incremental build. -
On Windows, use the .cmd versions:
runinstead of./run.sh,watchinstead of./watch.sh, etc. If you're using gitbash, the .sh versions will also work, and they display the output better.
All commands must be run from the repository root.
MIT License. See LICENSE.txt.