Skip to content

ourarash/nodejs_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs_template

A starter template for creating NodeJs Projects. Includes creating modules and unit tests.

Install NodeJS

You can install NodeJs from here

Running this package

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

Useful Visual Studio Extensions for NodeJS Development

Directory Structure

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
  1. The main entry point is app.js
  2. All modules are in lib folder. Example: lib/my_lib.js
  3. Unit test files are under test folder. Example: test/chai_test.js

About

A template for creating NodeJS projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published