Skip to content

MeghanaGudaram/notes-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to run the Notes Application:

******************************************************************************************************
If you haven't installed nodejs or npm I would recommend to follow the instructions in the below url.
https://nodejs.org/en/download/

Before executing the files, list of packages used:
node v8.9.4
lodash 4.17.4
yargs 4.7.1
npm 5.6.0

There is a possibility of error if you have different versions.
******************************************************************************************************

If you are not in the notes-node folder,

cd notes-node/
npm install
node app.js --help

// To add a note
node app.js add --title="some title" --body="Some body"
(or) node app.js add -t "some title" -b "Some body"

// To read a note
node app.js read --title="some title"
(or) node app.js read -t "some title"

// To list all notes
node app.js list

// To remove a note
node app.js remove --title="some title"
(or) node app.js remove -t "some title"

The saved data could be seen in notes-data.json

To run /playground/arrow-function.js
node playground/arrow-function.js

To run /playground/debugging.js in chrome
node --inspect-brk playground/debugging.js
open google chrome and type chrome://inspect

To run /playground/debugging.js in command line
node inspect playground/debugging.js

About

NodeJs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published