A tour of NodeJS and Javascript
You can install NodeJs from here
To download, install, and test this package, run:
git clone https://github.com/ourarash/nodejs_template.git
cd nodejs_template
npm install
npm run test
The files and directories are as follows:
.
├── README.md
├── app.js
├── lib
│ └── my_lib.js
├── package-lock.json
├── package.json
└── test
├── chai_test.js
└── mocha_test.js
- The main entry point is app.js
- All modules are in lib folder. Example: lib/my_lib.js
- Unit test files are under test folder. Example: test/chai_test.js