https://github.com/theroughcode/road-to-node
:computer: Repo for my "Road to Node" workshop.
https://github.com/theroughcode/road-to-node
asynchronous javascript node node-js nodejs workshop
Last synced: about 1 year ago
JSON representation
:computer: Repo for my "Road to Node" workshop.
- Host: GitHub
- URL: https://github.com/theroughcode/road-to-node
- Owner: theRoughCode
- Created: 2017-03-05T17:07:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T22:59:44.000Z (about 8 years ago)
- Last Synced: 2025-05-07T02:04:32.223Z (about 1 year ago)
- Topics: asynchronous, javascript, node, node-js, nodejs, workshop
- Language: HTML
- Homepage:
- Size: 36.1 KB
- Stars: 7
- Watchers: 3
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Road to Node

## 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