Skip to content

Class 01 Class Notes

Erin Trainor edited this page Mar 18, 2019 · 1 revision

If you get stuck in VIM :q! to escape = QUIT NOW!

Bash is an environment (like the terminal) The chrome is the border around an environment (example the border and buttons around he terminal) ls -a = show everything including the hidden stuff ls -l = long form list of everything in the location Node only knows what it is given

Server - takes in a response and gives something back

In a restaurant... Client - orders food Server - brings food ** the waitstaff can be both client and server since they would order food from the kitchen but bring the food provided by the kitchen to the customer.

(...variableName) - copies everything in an object to a new object (do this so you can use the existing stuff and add new stuff if desired.

NPM

NPM is a node package manager

npm init - this will let you manually build the package.json in the terminal

npm install NAME OF THE DEPENDENCIES

npm install -D - Will install the package as dev dependencies. This will hide the test framework.

What is Node?

Node is a way to communicate with another thing

Clone this wiki locally