Created from the FCC repository, to compile the lessons about node and express.
Start with an empty repository and making the git init as follows:
git init
git clone https://github.com/Estebmaister/mochachai.git
Adding the files from the original repo in FCC and start to coding.
To install all the dependencies :
npm install
To run the server
npm start
To run the tests
npm test
All the challenges are completed and all the tests are passing without problems. ✅
To begin, locate the file “tests/1_unit_tests.js”.
This file contains multiple suites of tests for the project, in the code the tests are self explaining.
After that, begin the tests in the second file “2_functional-tests.js”.
In this case the tests are a little more complicated, but again they are well explained.