How juddrussel/path-system works
This is an academic document and task workflow application: faculty submit forms or complete assigned work, while reviewers and administrators manage review, assignment, collaboration, and workflow configuration. The client routes users into these activities; the Express server exposes the corresponding APIs and real-time events. Sampled source confirms form review, task handling, workflow execution, authentication, and SLA alert behavior. The README is empty, and many routes and pages were not sampled, so their internal wiring is not inferred.
Main entry points: db.js Application database · App.jsx Application router · index.js API server · form.routes.js Form submissions
Components 25
Web client
- Application router
client/src/App.jsx - Forms
client/src/pages/Forms.jsx - Task work
client/src/pages/MyTasks.jsx - Workflow tools
client/src/pages/WorkflowDesigner.jsx - Review queue
client/src/pages/Documentreview.jsx
Submission and tasks
- Form submissions
server/routes/form.routes.js - Task assignment
server/routes/task.routes.js - Collaborative tasks
server/routes/collaborative.routes.js - Workflow API
server/controllers/workflow.controller.js - Workflow execution
server/services/workflowExecution.service.js - Workflow model
server/models/Workflow.js
Administration and services
- Authentication
server/routes/auth.routes.js - Application database
server/config/db.js - File storage
server/config/r2.js - Socket events
server/index.js - Audit trail
server/routes/audit.routes.js - SLA management
server/controllers/slaController.js - SLA monitoring
server/cron/slaCron.js - Alert email
server/services/slaEmailService.js
Server runtime
- API server
server/index.js
Other components
- Faculty
- Reviewer
- Chair or admin
- Object storage
- Email service
Connections 35
- Faculty → Application router: uses
- Reviewer → Application router: uses
- Chair or admin → Application router: uses
- Application router → Forms: routes to
- Application router → Task work: routes to
- Application router → Workflow tools: routes to
- Application router → Review queue: routes to
- API server → Authentication: mounts
- API server → Form submissions: mounts
- API server → Task assignment: mounts
- API server → Collaborative tasks: mounts
- API server → Workflow API: mounts
- API server → Socket events: hosts
- Forms → Form submissions: submits forms
- Review queue → Form submissions: reviews submissions
- Task work → Task assignment: manages tasks
- Task work → Collaborative tasks: collaborates
- Workflow tools → Workflow API: configures workflows
- Form submissions → Application database: reads and writes
- Form submissions → File storage: uploads files
- Task assignment → Application database: reads and writes
- Task assignment → File storage: manages attachments
- Collaborative tasks → Application database: reads and writes
- Collaborative tasks → Socket events: broadcasts updates
- Workflow API → Workflow model: calls
- Workflow model → Application database: queries
- Workflow execution → Application database: tracks transitions
- Workflow execution → Task assignment: creates tasks
- Authentication → Application database: reads and writes
- Audit trail → Application database: records activity
- SLA monitoring → SLA management: checks deadlines
- SLA management → Application database: reads and writes
- SLA management → Alert email: sends alerts
- Alert email → Email service: delivers email
- File storage → Object storage: stores files