Skip to content

401-advanced-javascript-joel/notes

Repository files navigation

LAB - Class 01 - 04

Notes

Author: Joel Watson

Links and Resources

Setup

  • npm install

How to run

Example of adding a note to the database (must use -a or --add)

  • notes --add "Hello, I am an example note"
  • notes --add "Hello, I am an example note" --categories "school, examples" // categories optional

Example of listing the notes from the database (must use -l or --list)

  • notes --list // gets all notes
  • notes --list school // gets notes with "school" category

Example of updating a note in the database (must use -u or --update)

  • notes --update <note-uuid> --note "I've been updated" --categories "school, examples" // replace note-uuid with actual uuid from mongo

Example of adding a note to the database (must use -d or --delete)

  • notes --delete <note-uuid>

Tests

  • npm test

UML

lab-01 UML01

lab-02 UML02

lab-03 UML03

lab-04 UML04

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published