Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.55 KB

README.md

File metadata and controls

54 lines (33 loc) · 1.55 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)

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.