-
clone the repository
-
cd
<repository_name> -
npm i -
npm run start
-
start the backend
npm run start -
start the backend in watch mode
npm run start:dev -
fix all the linting/styling issue in the codebase
npm run lint:fix -
run the tests
npm run test
-
To run all the tests
npm run test -
To run a specific test
node "node_modules/jest/bin/jest.js" "<test_file_dir>" -t "<test_name>" -
For eg.
node "node_modules/jest/bin/jest.js" "c:/Users/doc/tests/routes.test.js" -t "test working of all Endpoints"