How shubham23011/notes-application works
Notes Manager is a React notes interface backed by an Express API, JWT authentication, and MongoDB. Users register or log in, then the dashboard loads their profile and notes and supports note creation, editing, deletion, pinning, and searching. The README also describes secure access and responsive UI. Backend routes and frontend requests are visible in the sampled source; unsampled UI details and database configuration are represented only where the tree or README supports them.
Main entry points: Home.jsx Notes dashboard · axiosInstance.js HTTP client · App.jsx Route application · Navbar.jsx Navigation bar
Components 22
Notes interface
- Route application
frontend/notes-app/src/App.jsx - Navigation bar
frontend/notes-app/src/components/Navbar/Navbar.jsx - Profile controls
frontend/notes-app/src/components/Cards/ProfileInfo.jsx - Notifications
frontend/notes-app/src/components/Toast Message/Toast.jsx
Account access
- Sign up
frontend/notes-app/src/pages/SignUp/SignUp.jsx - Log in
frontend/notes-app/src/pages/Login/Login.jsx - Password input
frontend/notes-app/src/components/Input/PasswordInput.jsx - Form helpers
frontend/notes-app/src/utils/helper.js
Notes workflow
- Notes dashboard
frontend/notes-app/src/pages/Home/Home.jsx - Note editor
frontend/notes-app/src/pages/Home/AddEditNotes.jsx - Tag input
frontend/notes-app/src/components/Input/TagInput.jsx - Note card
frontend/notes-app/src/components/Cards/NoteCard.jsx - Empty state
frontend/notes-app/src/components/Empty Card/EmptyCard.jsx - Search control
frontend/notes-app/src/components/SearchBar/SearchBar.jsx
API and persistence
- HTTP client
frontend/notes-app/src/utils/axiosInstance.js - Account endpoints
backend/index.js - Note endpoints
backend/index.js - Token verification
backend/utilities.js - User records
backend/models/user.model.js - Note records
backend/models/note.model.js - MongoDB
Other components
- User
Connections 29
- User → Route application: uses
frontend/notes-app/src/App.jsx - Route application → Log in: routes to
frontend/notes-app/src/App.jsx - Route application → Sign up: routes to
frontend/notes-app/src/App.jsx - Route application → Notes dashboard: routes to
frontend/notes-app/src/App.jsx - Log in → Password input: renders
frontend/notes-app/src/pages/Login/Login.jsx - Sign up → Password input: renders
frontend/notes-app/src/pages/SignUp/SignUp.jsx - Log in → Form helpers: validates with
frontend/notes-app/src/pages/Login/Login.jsx - Sign up → Form helpers: validates with
frontend/notes-app/src/pages/SignUp/SignUp.jsx - Log in → HTTP client: posts login
frontend/notes-app/src/pages/Login/Login.jsx - Sign up → HTTP client: posts signup
frontend/notes-app/src/pages/SignUp/SignUp.jsx - HTTP client → Account endpoints: sends requests
- Account endpoints → User records: reads and saves
backend/index.js - Account endpoints → Token verification: verifies token
backend/index.js - Notes dashboard → HTTP client: requests notes
frontend/notes-app/src/pages/Home/Home.jsx - Note editor → HTTP client: saves changes
frontend/notes-app/src/pages/Home/AddEditNotes.jsx - Notes dashboard → Note endpoints: loads and manages
frontend/notes-app/src/pages/Home/Home.jsx - Note endpoints → Token verification: verifies token
backend/index.js - Note endpoints → Note records: reads and writes
backend/index.js - User records → MongoDB: persists in
- Note records → MongoDB: persists in
- Notes dashboard → Navigation bar: renders
frontend/notes-app/src/pages/Home/Home.jsx - Notes dashboard → Note card: renders
frontend/notes-app/src/pages/Home/Home.jsx - Notes dashboard → Note editor: opens
frontend/notes-app/src/pages/Home/Home.jsx - Notes dashboard → Empty state: renders
frontend/notes-app/src/pages/Home/Home.jsx - Notes dashboard → Notifications: shows
frontend/notes-app/src/pages/Home/Home.jsx - Navigation bar → Search control: renders
frontend/notes-app/src/components/Navbar/Navbar.jsx - Navigation bar → Profile controls: renders
frontend/notes-app/src/components/Navbar/Navbar.jsx - Navigation bar → Notes dashboard: submits search
frontend/notes-app/src/pages/Home/Home.jsx - Note editor → Tag input: renders
frontend/notes-app/src/pages/Home/AddEditNotes.jsx