How adityarj1910/issue-tracker works
Issue-Tracker is a role-aware issue and task tracking web application. Users log in, then work from a dashboard to view assigned tasks; managers can create or delete tasks, while task updates record status, ownership, time, and history. A separate filtered report view supports task searching and history inspection, and users can view a profile. The graph follows the sampled React routes and HTTP calls into the Express/Mongoose service. Backend endpoint details are partially excerpted, so only shown or documented relationships are connected.
Main entry points: index.js HTTP task service · Dashboard.jsx Task dashboard · App.jsx Route shell · ReportPage.jsx Filtered reports
Components 16
Web application
- Route shell
client/src/App.jsx - Auth state
client/src/AuthContext.jsx - Login
client/src/pages/login.jsx - Task dashboard
client/src/pages/Dashboard.jsx - User profile
client/src/pages/Profile.jsx - Filtered reports
client/src/pages/ReportPage.jsx - Create task form
client/src/components/addfield.jsx - Update task form
client/src/components/updatefield.jsx - Task history view
client/src/components/taskreport.jsx - Menu toggle
client/src/components/Hamburgerstate.jsx - Navigation menu
client/src/components/HamMenu.jsx
Task service
- HTTP task service
server/index.js
Persistence
- User model
server/models/Users.js - Task model
server/models/tasks.js - MongoDB
Other components
- User
Connections 29
- User → Route shell: opens
- Route shell → Auth state: provides state
client/src/App.jsx - Route shell → Login: routes to
client/src/App.jsx - Route shell → Task dashboard: routes to
client/src/App.jsx - Route shell → User profile: routes to
client/src/App.jsx - Route shell → Filtered reports: routes to
client/src/App.jsx - User → Login: submits credentials
client/src/pages/login.jsx - Login → Auth state: sets session
client/src/pages/login.jsx - Login → HTTP task service: requests users
client/src/pages/login.jsx - Task dashboard → HTTP task service: loads tasks
client/src/pages/Dashboard.jsx - Task dashboard → HTTP task service: deletes task
client/src/pages/Dashboard.jsx - Task dashboard → Create task form: opens form
client/src/pages/Dashboard.jsx - Task dashboard → Update task form: opens form
client/src/pages/Dashboard.jsx - Task dashboard → Task history view: shows history
client/src/pages/Dashboard.jsx - Task dashboard → Menu toggle: renders
client/src/pages/Dashboard.jsx - Filtered reports → HTTP task service: filters tasks
client/src/pages/ReportPage.jsx - Filtered reports → Update task form: opens form
client/src/pages/ReportPage.jsx - Filtered reports → Task history view: shows history
client/src/pages/ReportPage.jsx - Filtered reports → Menu toggle: renders
client/src/pages/ReportPage.jsx - User profile → Menu toggle: renders
client/src/pages/Profile.jsx - Menu toggle → Navigation menu: renders when open
client/src/components/Hamburgerstate.jsx - Navigation menu → Auth state: reads state
client/src/components/HamMenu.jsx - Create task form → HTTP task service: creates task
client/src/components/addfield.jsx - Update task form → HTTP task service: updates task
client/src/components/updatefield.jsx - HTTP task service → User model: queries users
server/index.js - HTTP task service → Task model: queries tasks
server/index.js - HTTP task service → MongoDB: connects
server/index.js - Task model → MongoDB: persists schema
- User model → MongoDB: persists users