How budugahariprasad/notesapp works
This repository implements a notes application: a React interface lets users register or log in, then create and manage personal notes through an Express API backed by MongoDB. Note management includes listing, editing, search, tag filtering, pinning, archiving, trash, and restore. The graph follows shown frontend composition and backend routing/model calls; the main App implementation, database connector, and some backend modules were not excerpted, so their internal links are limited to indexed references or documented behavior.
Main entry points: Dashboard.jsx Notes dashboard · note.js Note routes · index.js Express server · App.jsx App shell
Components 17
Web interface
- App shell
NotesAPP-API-backend-main/frontend/src/App.jsx - Authentication UI
NotesAPP-API-backend-main/frontend/src/components/AuthPage.jsx - Notes dashboard
NotesAPP-API-backend-main/frontend/src/components/Dashboard.jsx - Note creator
NotesAPP-API-backend-main/frontend/src/components/NoteCreator.jsx - Navigation and tags
NotesAPP-API-backend-main/frontend/src/components/Sidebar.jsx - Note card
NotesAPP-API-backend-main/frontend/src/components/NoteCard.jsx - Edit modal
NotesAPP-API-backend-main/frontend/src/components/NoteModal.jsx
API and access
- Express server
NotesAPP-API-backend-main/backend/index.js - Account routes
NotesAPP-API-backend-main/backend/routes/user.js - Note routes
NotesAPP-API-backend-main/backend/routes/note.js - JWT authentication
NotesAPP-API-backend-main/backend/middlewares/auth.js
Account and notes
- Account operations
NotesAPP-API-backend-main/backend/controllers/user.js - Note operations
NotesAPP-API-backend-main/backend/controllers/note.js
MongoDB models
- User model
NotesAPP-API-backend-main/backend/models/user.js - Note model
NotesAPP-API-backend-main/backend/models/notes.js - MongoDB connection
NotesAPP-API-backend-main/backend/connect.js
Other components
- User
Connections 18
- User → App shell: uses
- App shell → Authentication UI: renders
- App shell → Notes dashboard: renders
- Notes dashboard → Note creator: renders
NotesAPP-API-backend-main/frontend/src/components/Dashboard.jsx - Notes dashboard → Navigation and tags: renders
NotesAPP-API-backend-main/frontend/src/components/Dashboard.jsx - Notes dashboard → Note card: renders
NotesAPP-API-backend-main/frontend/src/components/Dashboard.jsx - Notes dashboard → Edit modal: renders
NotesAPP-API-backend-main/frontend/src/components/Dashboard.jsx - Note creator → Notes dashboard: submits notes
NotesAPP-API-backend-main/frontend/src/components/Dashboard.jsx - Notes dashboard → Note routes: requests notes API
NotesAPP-API-backend-main/frontend/src/components/Dashboard.jsx - Authentication UI → Account routes: requests account API
- Express server → MongoDB connection: connects
NotesAPP-API-backend-main/backend/index.js - Express server → Account routes: mounts
NotesAPP-API-backend-main/backend/index.js - Express server → Note routes: mounts
NotesAPP-API-backend-main/backend/index.js - Account routes → Account operations: routes to
NotesAPP-API-backend-main/backend/routes/user.js - Note routes → JWT authentication: authenticates
NotesAPP-API-backend-main/backend/routes/note.js - Note routes → Note operations: routes to
NotesAPP-API-backend-main/backend/routes/note.js - Account operations → User model: queries
NotesAPP-API-backend-main/backend/controllers/user.js - Note operations → Note model: queries
NotesAPP-API-backend-main/backend/controllers/note.js