loutee / nodejs-ab

Files from following the Node.js Essential Training tutorial by Alex Banks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nodejs-ab

Files from following the Node.js Essential Training tutorial by Alex Banks

node-core

  • global.js - Global objects
  • app.js - Argument variables with process.argv
  • ask.js - Standard input and standard output
  • timers.js - Global timing functions

node-modules

  • core.js - Core modules
  • prompPerson.js - Collecting information with Readline
  • BenFranklin.js - Handling events with EventEmitter
  • BFexport.js - Exporting custom modules
  • lib

    • Person.js - Custom module
  • exec.js - Creating child process with exec
  • alwaysTalking.js
  • spawn.js - Creating child process with spawn

file-system

  • list.js - Listing directory files
  • read.js - Reading files
  • create.js - Writing and appending files
  • directory.js - Directory creation
  • rename.js - Renaming files
  • remove.js - Removing files
  • directories.js - Renaming and removing directories
  • streams.js - Readable file streams
  • promptPerson.js - Writeable file streams

http-module

  • request.js - Making a request
  • server.js - Building a web server
  • fileserver.js - Serving files
  • api.js - Serving JSON data
  • formserver.js - Collecting POST data

node-package-manager

  • app.js - Installing npms globally

web-servers

  • package.json - The package.json file
  • app.js - Intro to Express, Express routing and CORS, Express post bodies and params

web-sockets

  • ws.js - Creating a WebSocket server, Broadcasting messages with WebSockets
  • socket-io - Creating WebSockets with Socket.IO

testing-and-debugging

  • tools-spec.js - Testing with mocha and Chai, Asynchronous mocha testing, Mocking a server with Nock
  • order-spec.js - Injecting dependencies with rewire, Advanced testing Sinon spies, Advance testing Sinon stubs, Code coverage with Istanbul
  • supertest/ - Testing HTTP endpoints with Supertest, Checking server responses with Cheerio

automation-and-deployment

  • Gruntfile.js - Hinting your code with Grunt, Converting LESS to CSS with Grunt, Bundling client scripts with Browserify, Rapid development with Grunt Watches
  • package.json - Automation with npm, Debugging with npm

About

Files from following the Node.js Essential Training tutorial by Alex Banks


Languages

Language:JavaScript 53.8%Language:HTML 43.7%Language:CSS 2.5%