Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What is Node.js?

What is Node.js?

Introductory presentation for EVRY employees about what Node.js is and how it works.

Hans Kristian Flaatten

February 02, 2017
Tweet

More Decks by Hans Kristian Flaatten

Other Decks in Technology

Transcript

  1. ! 3

  2. ! 6 Typical Use Cases Ê Real Time Systems "

    Internet of Things # API backends
  3. ! • Microsoft • PayPall • IBM • Wallmart •

    NASA • Netflix 7 Who uses Node.js • eBay • Uber • LinkedIn • Telenor • finn.no
  4. ! 9 Node.js architecture • Standard library / API •

    http, dns, fs, etc. • Google’s v8 JavaScript engine • libeuv for OS bindings
  5. ! 14 npm package.json { "name": "my package", "version": "1.0.0",

    "scripts": { "test": "mocha test.js" }, "dependencies": { "express": "^4.2.1", "mongodb": "^2.3.5" } }
  6. ! 15 npm package.json { "name": "my package", "version": "1.0.0",

    "scripts": { "test": "mocha test.js" }, "dependencies": { "express": "^4.2.1", "mongodb": "^2.3.5" } }
  7. ! 16 npm package.json { "name": "my package", "version": "1.0.0",

    "scripts": { "test": "mocha test.js" }, "dependencies": { "express": "^4.2.1", "mongodb": "^2.3.5" } }
  8. ! 19 var express = require('express'); var app = express();

    app.get('/', function(req, res){ res.send('Hello World'); }); app.listen(3000); console.log('Express started on port 3000');