How zyaan27/taskflow-team-task-manager works
TaskFlow is a collaborative team task manager. Users sign up or log in, then use the dashboard and project views to manage project membership and work; task views provide a status-based Kanban board. The React client calls an Express API, which enforces authentication and project roles and persists users, projects, memberships, and tasks in PostgreSQL. The README documents dashboard analytics, team management, and role restrictions. Some route and page source was not sampled, so those subsystem links rely on the README or SOURCE INDEX references.
Main entry points: index.js HTTP API client · App.jsx Route application · app.js Express app · database.js PostgreSQL pool and schema
Components 17
Web application
- Route application
frontend/src/App.jsx - Auth state
frontend/src/context/AuthContext.jsx - Login and signup
frontend/src/pages/LoginPage.jsx - Navigation layout
frontend/src/components/layout/Layout.jsx - Dashboard analytics
frontend/src/pages/DashboardPage.jsx - Project listing
frontend/src/pages/ProjectsPage.jsx - Project and members
frontend/src/pages/ProjectDetailPage.jsx - Kanban tasks
frontend/src/pages/TasksPage.jsx - HTTP API client
frontend/src/api/index.js
Backend API
- Express app
backend/src/app.js - Authentication routes
backend/src/routes/auth.js - Project routes
backend/src/routes/projects.js - Task routes
backend/src/routes/tasks.js - Dashboard route
backend/src/routes/dashboard.js
Identity and access
- JWT and role guards
backend/src/middleware/auth.js
Persistent data
- PostgreSQL pool and schema
backend/src/config/database.js
Other components
- Team user
Connections 33
- Team user → Route application: uses
README.md - Route application → Auth state: provides auth
frontend/src/App.jsx - Route application → Login and signup: routes to
frontend/src/App.jsx - Route application → Navigation layout: routes through
frontend/src/App.jsx - Route application → Dashboard analytics: routes to
frontend/src/App.jsx - Route application → Project listing: routes to
frontend/src/App.jsx - Route application → Project and members: routes to
frontend/src/App.jsx - Route application → Kanban tasks: routes to
frontend/src/App.jsx - Auth state → HTTP API client: verifies session
frontend/src/context/AuthContext.jsx - Login and signup → Auth state: updates session
frontend/src/pages/LoginPage.jsx - Navigation layout → Auth state: reads session
frontend/src/components/layout/Layout.jsx - Dashboard analytics → HTTP API client: requests analytics
frontend/src/pages/DashboardPage.jsx - Project listing → HTTP API client: requests projects
frontend/src/pages/ProjectsPage.jsx - Project and members → HTTP API client: manages project team
frontend/src/pages/ProjectDetailPage.jsx - Kanban tasks → HTTP API client: manages tasks
frontend/src/pages/TasksPage.jsx - HTTP API client → Authentication routes: sends auth requests
README.md - HTTP API client → Project routes: sends project requests
README.md - HTTP API client → Task routes: sends task requests
README.md - HTTP API client → Dashboard route: requests dashboard
README.md - Express app → Authentication routes: mounts routes
backend/src/app.js - Express app → Project routes: mounts routes
backend/src/app.js - Express app → Task routes: mounts routes
backend/src/app.js - Express app → Dashboard route: mounts routes
backend/src/app.js - Authentication routes → JWT and role guards: authenticates
backend/src/routes/auth.js - Authentication routes → PostgreSQL pool and schema: queries users
backend/src/routes/auth.js - JWT and role guards → PostgreSQL pool and schema: checks users and roles
backend/src/middleware/auth.js - Project routes → JWT and role guards: guards access
backend/src/routes/projects.js - Project routes → PostgreSQL pool and schema: reads and writes
backend/src/routes/projects.js - Task routes → JWT and role guards: guards access
backend/src/routes/tasks.js - Task routes → PostgreSQL pool and schema: reads and writes tasks
backend/src/routes/tasks.js - Dashboard route → JWT and role guards: guards access
backend/src/routes/dashboard.js - Dashboard route → PostgreSQL pool and schema: aggregates task data
backend/src/routes/dashboard.js - Express app → PostgreSQL pool and schema: initializes schema
backend/src/app.js