Currently we are following a set of style rules and a basic test suite for maintaining a clean and organized code base. It is very important for to follow these style guide before you push your feature or enhancements to the master branch .
Eslint
: For linting and style related errors checks.Prettier
: For linting fix and formatting.
Chai and Mocha
: For the basic unit testingSupertest
: for unit test withhttp
assertions.
npm install
- To install all the needed dependencies.
npm start
- To start the development server . And thats it.It should be up and running in
localhost:3000
. - We are using reload module so any change you make will be immediately shown in the browser.
- For checking errors :
npm run lint
- For fixing all possible errors
npm run lint:fix
npm run test