To install the app run the following:
$ npm i -g @seanjmurray/notesy
To enter a note run the following
$ notes --add "This is the note" --category "category"
To view notes
$ notes --list (optional --category "category")
To delete notes
$ notes --delete "id"
- --add or -a --category or -c to add a note
- --list or -l to view notes optional category flag
- --delete or -d to delete a note
$ npm test
Jest will test all functionality
$ npm run lint
Checks for linting errors
- 2020-08-10 Add files and start README
- 2020-08-11 Refactor to ES6 classes and add tests
- 2020-08-12 Add CRUD to note class with mongoose
- 2020-08-13 Refactor CRUD to collection file and publish V1