-
Notifications
You must be signed in to change notification settings - Fork 18
Class 01 Class Notes
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 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.
Node is a way to communicate with another thing