Giter VIP home page Giter VIP logo

notes-node-app's Introduction

notes-node-app

This is my notes-node application following Andrew Mead's Complete Node.js Developer Course on Udemy. This repo is used purely for learning exercises and the course content should not be interpreted as something I've created on my own.

The notes app allows you to store notes into a .txt file through the command line using Node.js' File System and the Yargs and Lodash libraries.

Commands

All of these commands can be passed using the command line interface. Navigate to the project directory and run npm install to install the dependencies.

Add a note

To add a note, use the add command. Use --title or -t to set the title of the note and use --body or -b to set the body of the note. node app.js add -t="Some note" -b="Some text for my note"

List all notes

To read all notes, use the list command. node app.js list

Read a note

To read a note, use the read command. If the note exists, use --title or -t to pass in the title of the note you want to read. node app.js read -t="Some note"

Remove a note

To remove an existing note, use the remove command. If the note exists, use --title or -t to pass in the title of the note you want to remove. node app.js remove -t="Some note"

Help

If you have questions about what commands are available or how each command works, use the --help command. node app.js --help node app.js read --help

notes-node-app's People

Contributors

christianhoward avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.