Skip to content

This notes app is part of the Node Developer Course on Udemy taught by Andrew Mead.

Notifications You must be signed in to change notification settings

marlenebowles/notes-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes App from Udemy Node Developer Course

This notes app is part of the Node Developer Course on Udemy taught by Andrew Mead.

How it Works:

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

What I Learned:

Synchronous file handling through Node

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.

What's a buffer

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.

A good buffer resource

Future Improvements:

  1. Server to spin up all the notes in a web browser
  2. Documentation about API
  3. Asynchronous File handling
  4. Unit Tests

About

This notes app is part of the Node Developer Course on Udemy taught by Andrew Mead.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published