Demo project for CodeHub JavaScript 1-day workshop. This is a simple Express application developed using a test-driven approach using Mocha and Chai.
The project can be run using
npm start
You can also run the tests using
npm test
This project is divided using git tags.
Each tag corresponds to a different test in a pass or fail state.
For example, 03_fail
is the tag where the third test is in a fail state.
To switch between tags, use
git checkout <tag_name>