How amjadelmerabet/pro-manager works
Pro Manager is a project-and-task management web app. Users enter through public pages or sign in, then use a Classic or Modern workspace to find, organize, create, and update projects and tasks; the service handles authenticated requests, authorization, and persistence. The graph includes documented comments, activity history, and account capabilities, though their implementation paths are not all sampled. Several subsystem links are based on the README or SOURCE INDEX; unsampled internals are represented at their exact enclosing directories.
Main entry points: tasks.js Task routes · api HTTP API clients · index.js HTTP entry point · App.jsx Application routing
Components 19
Web experience
- Application routing
client/src/App.jsx - Public pages
client/src/pages/public - HTTP API clients
client/src/api
Work management
- Workspace views
client/src/pages/auth - Projects
client/src/pages/auth/projects - Project detail
client/src/pages/auth/project - Tasks
client/src/pages/auth/tasks - Task detail
client/src/pages/auth/task
Application service
- HTTP entry point
server/index.js - Project routes
server/routes/projects.js - Task routes
server/routes/tasks.js - Project operations
server/controllers/projects - Task operations
server/controllers/tasks - Comments and activity
server/controllers
Identity and access
- Account and token routes
server/routes - Access control
server/authorization - Account and session operations
server/controllers/users
Persistence
- PostgreSQL connection
server/db/connection.js
Other components
- User
Connections 28
- User → Application routing: opens
client/src/App.jsx - Application routing → Public pages: routes to
client/src/App.jsx - Application routing → Workspace views: routes to
client/src/App.jsx - Workspace views → Projects: presents
client/src/pages/auth/tasks/modern/Tasks.jsx - Workspace views → Tasks: presents
client/src/pages/auth/tasks/modern/Tasks.jsx - Projects → HTTP API clients: requests data
client/src/pages/auth/projects/classic/utils/fetchUserProjectsUtil.js - Project detail → HTTP API clients: requests data
client/src/pages/auth/project/utils/fetchProjectTasksUtil.js - Tasks → HTTP API clients: fetches and changes
client/src/pages/auth/tasks/modern/Tasks.jsx - Task detail → HTTP API clients: requests data
- HTTP API clients → HTTP entry point: sends HTTP requests
client/src/api/tasks/getTasksByAssignedToAPI.js - HTTP entry point → Project routes: dispatches
server/index.js - HTTP entry point → Task routes: dispatches
server/index.js - HTTP entry point → Account and token routes: dispatches
server/index.js - Task routes → Access control: checks permissions
server/routes/tasks.js - Task routes → Task operations: calls task operations
server/routes/tasks.js - Task routes → Project operations: checks linked project
server/routes/tasks.js - Project routes → Project operations: calls project operations
server/routes/projects.js - Task routes → Comments and activity: records activity
server/routes/tasks.js - Access control → PostgreSQL connection: reads roles and controls
server/authorization/helpers/user_roles/getUserRolesByUser.js - Task operations → PostgreSQL connection: queries tasks
server/controllers/tasks/getTasksByAssignedTo.js - Project operations → PostgreSQL connection: persists project data
- Account and token routes → Account and session operations: handles accounts
server/routes/tokens.js - Account and token routes → Access control: enforces access
server/routes/tasks.js - User → Public pages: browses
- Projects → Project detail: opens project
- Tasks → Task detail: opens task
- Project detail → Comments and activity: reviews comments and history
- Task detail → Comments and activity: reviews comments and history