How siyamthandagwamanda/react-native-notes-application works
This is a local-only React Native notes app. Users register or log in, then navigate protected screens to browse category notes, search/sort them, and create, edit or delete notes; they can also update their profile or log out. Screens invoke the storage service, which persists users and notes in AsyncStorage and hashes passwords. The README documents protected routing and account isolation. Login and layout source were read, but some screens and wiring were only indexed; edges reflect only explicit code or README evidence.
Main entry points: storage.ts User and note storage · AuthContext.tsx Session context · [name].tsx Category notes · index.tsx Category home
Components 15
App screens
- Login
src/app/login.tsx - Registration
src/app/register.tsx - Category home
src/app/index.tsx - Profile editor
src/app/profile.tsx - Shared form styles
src/styles/form.ts
Identity and routing
- Protected routes
src/app/_layout.tsx - Session context
src/components/AuthContext.tsx
Notes experience
- Category notes
src/app/category/[name].tsx - Note card
src/components/NoteCard.tsx - Note editor
src/app/note.tsx
Local data
- User and note storage
src/services/storage.ts - Device storage
- Password hash
src/utils/hash.ts - User and note types
src/types/types.ts
Other components
- App user
Connections 24
- App user → Login: enters credentials
README.md - App user → Registration: creates account
README.md - Login → User and note storage: authenticates
src/app/login.tsx - Registration → User and note storage: registers
src/app/register.tsx - User and note storage → Device storage: reads and writes
src/services/storage.ts - User and note storage → Password hash: hashes passwords
src/services/storage.ts - Protected routes → Session context: reads session
src/app/_layout.tsx - Protected routes → Login: guards access
README.md - Protected routes → Registration: guards access
README.md - App user → Category home: opens categories
README.md - Category home → Session context: reads and clears
src/app/index.tsx - Category home → Category notes: navigates to
src/app/index.tsx - Category home → Profile editor: opens profile
src/app/index.tsx - Profile editor → User and note storage: updates account
src/app/profile.tsx - Profile editor → Session context: updates session
src/app/profile.tsx - Category notes → Session context: reads session
src/app/category/[name].tsx - Category notes → User and note storage: loads and deletes
src/app/category/[name].tsx - Category notes → Note card: renders notes
src/app/category/[name].tsx - Category notes → Note editor: opens editor
src/app/category/[name].tsx - Note editor → Session context: reads session
src/app/note.tsx - Note editor → User and note storage: loads and saves
src/app/note.tsx - User and note storage → User and note types: uses models
src/services/storage.ts - Session context → User and note types: uses user type
src/components/AuthContext.tsx - Note card → User and note types: uses note type
src/components/NoteCard.tsx