How shubbham-kumarr/my-notes-rack works
My Notes Rack is a browser-local encrypted notes app. The user enters a passphrase and searches in the header, creates or edits notes in the form, and views, edits, or deletes them in the list. App coordinates note state, filtering, encryption/decryption, and IndexedDB operations; the local database stores encrypted content. README documents offline-first operation and CRUD/search capabilities. Edges reflect shown imports, calls, and callbacks; no unsampled implementation is assumed.
Main entry points: App.jsx Notes app state · Header.jsx Passphrase and search · NoteForm.jsx Note editor · NoteList.jsx Filtered note list
Components 9
Notes interface
- React bootstrap
src/main.jsx - Passphrase and search
src/components/Header.jsx - Note editor
src/components/NoteForm.jsx - Filtered note list
src/components/NoteList.jsx - Note card actions
src/components/NoteCard.jsx
App coordination
- Notes app state
src/App.jsx
Local services
- AES encryption
src/utils/crypto.js - IndexedDB notes
src/utils/db.js
Other components
- User
Connections 13
- User → Passphrase and search: enters and searches
src/components/Header.jsx - User → Note editor: writes notes
src/components/NoteForm.jsx - React bootstrap → Notes app state: renders
src/main.jsx - Notes app state → Passphrase and search: renders
src/App.jsx - Passphrase and search → Notes app state: updates state
src/components/Header.jsx - Notes app state → Note editor: renders
src/App.jsx - Note editor → Notes app state: submits or cancels
src/components/NoteForm.jsx - Notes app state → Filtered note list: renders filtered notes
src/App.jsx - Filtered note list → Note card actions: renders cards
src/components/NoteList.jsx - Note card actions → Notes app state: requests edit or delete
src/components/NoteCard.jsx - Notes app state → IndexedDB notes: opens and reads
src/App.jsx - Notes app state → IndexedDB notes: writes or deletes
src/App.jsx - Notes app state → AES encryption: encrypts and decrypts
src/App.jsx