This is notes app made while learning node js. It provides the following functionality:
- add: adds a new note
- remove: removes an existing note
- list: lists the title in notes in console
- read : prints a single note in console
- read: prints all notes in console
Make sure you have Nodejs, npm and Visual Studio Code installed.
To clone the repository:
git clone https://github.com/tanshiv2/nodejs-notes-app.git
Go to the directory in VScode:
cd nodejs-notes-app/notes-app
To install required dependencies and get the node-modules:
npm install
Use the application!
node app.js add --title "abc" --body "abc"
node app.js remove --title "abc"
node app.js list
node app.js read --title "abc"
node app.js readall