How gitgunawardhana/issue-tracker works
Issue Tracker is a full-stack collaborative issue-management app. Users register or log in, then use a protected dashboard to search and filter issues, create or update them, manage assignment and resolution, and export filtered results. The React client keeps auth and issue state, while Express routes handle authentication and issue operations; controllers validate requests and use Mongoose models backed by MongoDB. The README documents refresh-token authentication, URL-synced filters, PDF/JSON exports, and theming. Some frontend and route behavior is represented from the README and source index rather than sampled implementations.
Main entry points: Dashboard.tsx Dashboard · App.tsx App routing · issues.ts Issue routes · server.ts HTTP server
Components 22
React client
- App routing
frontend/src/App.tsx - Login and register
frontend/src/pages - Auth state
frontend/src/store/authStore.ts - API client
frontend/src/services/api.ts
Issue experience
- Dashboard
frontend/src/pages/Dashboard.tsx - Issue forms and views
frontend/src/components - Search and filters
frontend/src/pages/Dashboard.tsx - Export controls
frontend/src/components/ExportMenu.tsx - Issue state
frontend/src/store/issueStore.ts - Theme state
frontend/src/store/themeStore.ts - Toast state and display
frontend/src/store/toastStore.ts
Backend API
- Authentication
backend/src/routes/auth.ts - Issue routes
backend/src/routes/issues.ts - User routes
backend/src/routes/users.ts - JWT authorization
backend/src/middleware/auth.ts - Issue operations
backend/src/controllers/issueController.ts - Filtered exports
backend/src/controllers/exportController.ts - HTTP server
backend/src/server.ts
Persistence
- Issue records
backend/src/models/Issue.ts - User records
backend/src/models/User.ts
Other components
- Team member
- MongoDB
Connections 26
- Team member → App routing: uses
README.md - App routing → Login and register: routes to
frontend/src/App.tsx - App routing → Dashboard: protects and routes
frontend/src/App.tsx - Login and register → API client: authenticates through
frontend/src/pages/Login.tsx - Login and register → Auth state: updates
frontend/src/pages/Login.tsx - Dashboard → API client: requests data
frontend/src/pages/Dashboard.tsx - Dashboard → Issue state: updates
frontend/src/pages/Dashboard.tsx - Dashboard → Issue forms and views: renders
frontend/src/pages/Dashboard.tsx - Dashboard → Search and filters: syncs filters
frontend/src/pages/Dashboard.tsx - Dashboard → Export controls: handles exports
frontend/src/pages/Dashboard.tsx - Dashboard → Toast state and display: shows notifications
frontend/src/pages/Dashboard.tsx - App routing → Theme state: applies theme
frontend/src/App.tsx - API client → Auth state: persists auth
frontend/src/services/api.ts - API client → HTTP server: calls API
README.md - HTTP server → Authentication: mounts
backend/src/server.ts - HTTP server → Issue routes: mounts
backend/src/server.ts - HTTP server → User routes: mounts
backend/src/server.ts - Issue routes → JWT authorization: authorizes
backend/src/routes/issues.ts - Issue routes → Issue operations: dispatches to
backend/src/routes/issues.ts - Issue routes → Filtered exports: dispatches export
backend/src/routes/issues.ts - User routes → JWT authorization: authorizes
backend/src/routes/users.ts - Authentication → User records: reads and writes
backend/src/routes/auth.ts - Issue operations → Issue records: queries and updates
backend/src/controllers/issueController.ts - Filtered exports → Issue records: queries filtered issues
backend/src/controllers/exportController.ts - Issue records → MongoDB: stores records
README.md - User records → MongoDB: stores records
README.md