This notes app is part of the Node Developer Course on Udemy taught by Andrew Mead.
Running the console and supplying commands, users have the following options.
$ node app.js add --title="Foo" --body="Bar Body"
$ node app.js remove --title="Foo"
$ node app.js read --title="Foo"
$ node app.js listNotes
All file system operations in Node offer an asynchronous and synchronous forms. With this beginners project, diving into asynchronous file structures was out of scope.
Synchronous operations error exceptions can be handled via a try catch block.
A buffer is an area of memory, and can be seen as an array of integers. Each of these represent a byte of data. Since this is basically binary jargon, it can be converted to a string.
- Server to spin up all the notes in a web browser
- Documentation about API
- Asynchronous File handling
- Unit Tests