Skip to content

Files

Latest commit

 

History

History
61 lines (37 loc) · 1.89 KB

README.md

File metadata and controls

61 lines (37 loc) · 1.89 KB

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()

Building a command line interface (CLI)

Understand the Node.js process object You don't have to remember everything in this video, it's just a nice outline.

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 💁