A simple nodejs server with linting and testing functionality.
Nodejs & NPM
- Fire up your terminal and clone this repository
git clone [email protected]:ekundayo-ab/simple-nodejs-boilerplate.git
into your directory of choice. - Still on the terminal
cd
into the cloned repository. - Enter
npm install
- Enter
npm start
- Visit
localhost:3000
to see an hello message.
Run npm run lint
to lint the app.js
file
Run npm test
to run the mock test file in tests/dumb.test.js