How zachloh/project-management-app works
ProjectHub is a Jira-inspired project-management web app. Users authenticate, view organization and project dashboards, manage projects, and work issues on a filterable, drag-and-drop Kanban board; issue details and edits are handled in a modal. The client is organized around feature screens and API hooks, backed by Express routes/controllers and Mongoose models. The README documents account, project, issue, and role-management capabilities. Some client-to-server and server-layer links are shown dashed because the relevant wiring was not excerpted or indexed as a reference.
Main entry points: KanbanBoard/index.tsx Kanban board · updateIssueStatus.tsx Client API hooks · App.tsx App and routes · Layout/index.tsx Navigation and search
Components 23
Client shell
- App and routes
client/src/App.tsx - Authentication
client/src/features/auth/components/LoginForm.tsx - Navigation and search
client/src/components/Layout/index.tsx
Dashboards and projects
- Organization dashboard
client/src/features/overview-dashboard/components/OverviewDashboard/index.tsx - Dashboard metrics
client/src/features/overview-dashboard/components/IssuesChart.tsx - Project dashboard
client/src/features/project-dashboard/components/ProjectDashboard.tsx - Project management
client/src/features/project-management/components/ProjectManagement/index.tsx - Admin settings
client/src/features/admin-settings/components/AdminSettings/index.tsx - User profile and setup
client/src/features/user/components/UserProfile/index.tsx
Issue workflow
- Kanban board
client/src/features/kanban-board/components/KanbanBoard/index.tsx - Issue cards and creation
client/src/features/kanban-board/components/KanbanCard/index.tsx - Issue filters
client/src/features/kanban-board/components/IssuesFilter/index.tsx - Issue details and editing
client/src/features/kanban-board/components/IssueModal/index.tsx
API and services
- Client API hooks
client/src/api/issues/updateIssueStatus.tsx - Express routes
server/src/routes/issues.ts - Issue operations
server/src/controllers/issues.ts - Project operations
server/src/controllers/projects.ts - User and organization operations
server/src/controllers/users.ts
Domain data
- Issue records
server/src/models/issues.ts - Project records
server/src/models/projects.ts - User records
server/src/models/users.ts - Project history
server/src/models/projectHistory.ts
Other components
- User
Connections 25
- User → App and routes: uses
- App and routes → Authentication: offers sign-in
- App and routes → Navigation and search: renders workspace
- Navigation and search → Organization dashboard: hosts dashboard
- Navigation and search → Client API hooks: searches issues
client/src/components/Layout/index.tsx - Organization dashboard → Client API hooks: loads projects
- Organization dashboard → Dashboard metrics: renders metrics
client/src/features/overview-dashboard/components/OverviewDashboard/index.tsx - User → Kanban board: manages issues
- Kanban board → Client API hooks: loads project
client/src/features/kanban-board/components/KanbanBoard/index.tsx - Kanban board → Client API hooks: updates status
client/src/features/kanban-board/components/KanbanBoard/index.tsx - Kanban board → Issue cards and creation: renders columns
client/src/features/kanban-board/components/KanbanBoard/index.tsx - Kanban board → Issue filters: renders filters
client/src/features/kanban-board/components/KanbanBoard/index.tsx - Kanban board → Issue details and editing: renders details
client/src/features/kanban-board/components/KanbanBoard/index.tsx - User → Project management: manages projects
- User → Admin settings: edits member roles
- User → User profile and setup: edits profile
- Client API hooks → Express routes: calls API
- Express routes → Issue operations: dispatches issues
- Issue operations → Issue records: reads and writes
- Project operations → Project records: reads and writes
- User and organization operations → User records: reads and writes
- Project records → Issue records: references issues
server/src/models/projects.ts - Project records → User records: references members
server/src/models/projects.ts - User → Project dashboard: views project details
- Project dashboard → Project history: shows activity