Socialcops Nodejs Task
Task to build simple stateless microservice in Nodejs with three major functionalities:
- JWT Authentication
- JSON Patching
- Image Thumbnail Generation
Prerequisites
- Git
- Node.js ^8.2.1 and npm ^5.3.0
Install
$ npm install
Start the server
$ npm start
Run test suite with mocha
$ npm test
Run eslint
$ npm run lint
Generate test coverage reports using istanbul/nyc
$ npm run test-cover
Generate JSDoc documentation using minimi template theme for JSDoc3
$ npm run generate-docs