Skip to content

NaveBlander/Notes-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes-app

A simple command-line notes application built with Node.js. This app allows users to manage their notes by adding, removing, listing, and reading them using command-line commands.

Features

  • Add a new note: Create a note with a title and body.
  • Remove a note: Delete an existing note by its title.
  • List notes: Display all your notes' titles.
  • Read a note: View the content of a specific note.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/notes-app.git
    
  2. Navigate into the project directory:

    cd notes-app
    
  3. Install the dependencies:

    npm install
    

Usages

  • Add a note: To add a new note, use the following command: node app.js add --title="Your Note Title" --body="Your Note Body"
  • Remove a Note: To remove a note, use: node app.js remove --title="Your Note Title"
  • List Notes: To list all your notes, run: node app.js list
  • Read a Note: To read a specific note, use: node app.js read --title="Your Note Title"

Data storage

Notes are stored in a JSON file named notes.json. Each note has a title and body.

Dependencies

This project uses the following npm packages:

  • chalk - For styling terminal strings.
  • yargs - For parsing command-line arguments.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published