A command-line note-taking application built in Ruby. Add, edit, delete and view notes — all stored persistently on disk.
- Add notes
- Edit existing notes
- Delete notes with confirmation prompt
- View all notes with timestamps
- Notes persist between sessions using PStore
########## Simple Note Application ##########
a) Add
b) Edit
d) Delete
s) Show All
q) Quit
> a
Note: Buy groceries
> s
------------------------ 1 ------------------------
Date: 2026-06-03 12:00:00
Note: Buy groceries
------------------------------------------------------
> b
Enter Index Number to edit: 1
Note: Buy groceries and cook dinner
********************Entry Updated********************
> d
Enter Index Number to delete: 1
Are you sure? (y/n): y
********************Entry Deleted********************
> q
#################### Goodbye! ####################
- Ruby 2.7+
- PStore (included in Ruby standard library — no extra install needed)
git clone https://github.com/lillysilly3/simple_note_app
cd simple_note_app
ruby main.rbmain.rb- Entry pointapplication.rb- Main application loopmenu.rb- User interaction and menu actionsmanager.rb- Business logic layerdatabase.rb- PStore persistence layernote.rb- Note model
- Object-oriented Ruby design with classes and modules
- Separating concerns across model, database, and application layers
- Persisting data with Ruby's built-in PStore
- Input validation and error handling
This project was built following the Ruby tutorial by Best Tutorials on YouTube.