Skip to content

theRoughCode/Road-to-Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Road to Node

node.js

What is Node.js?

Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model (asynchronous) that makes it lightweight and efficient. It is used for writing web servers in JavaScript.

Why Use Node.js?

  1. Node is love. Node is life.
  2. Node is fast and efficient (event-driven, asynchronous), which is useful for multi-user web apps that require real-time updates.
  3. Node is love. Node is life.
  4. Open-source, cross-platform.
  5. Node is love. Node is life.
  6. Node's package ecosystem, npm, is the largest ecosystem of open source libraries in the world.
  7. Node is love. Node is life.

Here's How I Plan to Run The Workshop Trilogy

Workshop #1: JavaScript Basics

Time: Tues, March 7 @ 7pm - 8.30pm (1.5hr)

Location: STC 0020

Goals:

  • Introduce JavaScript
  • Basic operations (for loops, arrays, etc.)
  • == vs ===
  • Objects
  • ES6+ functionality (spread, function =>)
  • Let vs var
  • Array Operations (forEach, slicing, map, reduce, filter)
  • Interaction with DOM (i.e. querySelector(All))
  • Error handling with console
    • Will not go into CSS (i.e. transitions, add classes)*

Workshop #2: Intro to node.js

Time: Tues, March 14 @ 7 - 8.30pm (1.5hr)

Location: MC 4020

Goals:

  • Introduce node.js (asynchronous, single-threaded)
  • Introduce concept of callbacks and error handling
  • Introduce Promises (maybe?)

Workshop #3: Setting up a Server with Express.js

Time: Tues, March 21 @ 7pm - 8.30pm (1.5hr)

Location: STC 0020

Goals:

  • Integrate express to setup a local server
  • Introduce routing
  • Introduce localhost
  • Create a basic HTML template with Handlebars
  • Show how node connects express and Handlebars (through view engine)
  • Introduce HTTP requests (POST, GET) with Postman

Workshop #4: Road to Node 2018

Time: Tues, March 26 2018 @ 7pm - 8.30pm (1.5hr)

Location: STC 0010

Goals:

  • Brief introduction to JavaScript
  • Introduce Node.js
  • Integrate express to setup a local server
  • Introduce routing
  • Introduce localhost
  • Introduce HTTP requests (POST, GET, DELETE) with Postman

Releases

No releases published

Packages

No packages published