Skip to content

tboopeshkumar/NodeJsTraining

Repository files navigation

NodeJsTraining

ES6 Features :

  • In ES6 ; is not required to end the scope or statement. ASI will take care of it.
  • let scope
  • ()=>
  • template literal operator `

npm init –y : to create package.json with default values.

npm install express

Types of functions in JavaScript :

  1. declartive function or named function
  2. Ananoyomous function
  3. Instance function

function Emp(name, sal){ this.Ename = name; this.sal = sal; this.show ()=> { } } ()=> fat arrow operator

  • Node is event drivern model with non blocking.

  • events are in core module

  • eventEmitter object is responsible for firing events.

  • Built in events in Stream : data, close ,end, finish

  • subscribe built-in or custom events with emittor.on()

  • Create custom events in custom modules and consume it in other modules.

  • runs under eventloop of V8

  • Express, Hapi Js, Restify

  • Node TS ts-node

  • CSRF Token

  • Axios

Async & Await :

Addon :

npm install node-gyp -g npm install nan --save node-gyp configure node-gyp build

Clustering :

  • clustering
  • nginx
  • HAProxy
  • Varnish (caching proxy)
  1. Fork
  2. spawn
  3. clustering
  4. nginix
  5. Pm2
  6. exec

JMeter - Load balancing testing library.

Client side dependency : Bower bower install

  • Mocha - unit test frame work for Node.js - chai.js

  • Gulp, Grunt for server side build automation tool

  • Webpack - client side build automation tool

  • Docker - Build, ship, Run anywhere

  • Node js mircroservices.

: email of the trainer : dsrmurthy786@yahoo.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published