GithubHelp home page GithubHelp logo

road-to-node's Introduction

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: TBA

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: TBA

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: TBA

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 Postmaster

road-to-node's People

Contributors

theroughcode avatar

Watchers

James Cloos avatar Please go to https://github.com/clair-hu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.