Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

HackYourFuture Node.js Week 2

Agenda

  1. Recap last week
  2. Previous homework
  3. Questions & answers (Q&A)
  4. Persisting data beyond the lifetime of the app
    1. Accessing file system using build-in fs module
    2. Example
  5. Building a command line interface (CLI)
    1. Accessing command line arguments using process.argv
    2. Example
  6. CRUD operations, create, read, update and delete
  7. Homework

Last week's summary

Last week we looked at building an HTTP server. That server allowed us to get a state and manipulate it (add, subtract, reset).

Reading material

Node.js file system module fs

Videos:

Reading & Writing Files

Documentation:

Main documentation

fs.readFile()

fs.appendFile()

Working with streams in Node.js

fs.readFile() vs fs.createReadStream()

Node.js stream documentation

Streams vs readFile and piping streams

Building a command line interface (CLI)

Node.js Process Documentation

process.argv

CRUD

CRUD

Node Fundamentals

Read parts 3.1, 3.2, 4.1, 4.3 of Airpair tutorial

Homework

Check README.md in homework subdirectory.

Prepare for the next lecture

Lynda playlist 💁