@fellowjoel/notes
v1.2.0
Published
A command line application using Node.js called notes which will allow the user to specify a note (words) to be added to a database.
Readme
LAB - Class 01
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 notesnotes --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

