How pawanpathak07/workflowhub-soft806 works
WorkFlowHub lets users register or log in, then manage their private workflow items on a three-status board. The frontend coordinates authentication and item actions through an API client; Django validates and serves those requests, and the workflow API scopes item operations to the signed-in user. The board also supports search, priority filtering, due dates, and status changes. README documents the API and SQLite configuration; unsampled routing and persistence details are shown only where documented or referenced. Connections reflect the supplied excerpts, source index, and README.
Main entry points: Board.jsx Workflow board · App.jsx App shell · AuthPage.jsx Sign-in forms · views.py Item endpoints
Components 17
Web application
- App shell
frontend/src/App.jsx - Sign-in forms
frontend/src/components/AuthPage.jsx - Workflow board
frontend/src/components/Board.jsx - Item card
frontend/src/components/ItemCard.jsx - Item editor
frontend/src/components/ItemModal.jsx - API client
frontend/src/api.js - Board helpers
frontend/src/utils.js - Confirm dialog
frontend/src/ui/ConfirmDialog.jsx - Toast alerts
frontend/src/ui/Toasts.jsx
Identity API
- Django REST API
backend/config/urls.py - Auth endpoints
backend/accounts/views.py - Auth validation
backend/accounts/serializers.py
Workflow API
- Item endpoints
backend/workflow/views.py - Item serialization
backend/workflow/serializers.py - Workflow item model
backend/workflow/models.py
Persistence
- SQLite database
backend/db.sqlite3
Other components
- User
Connections 25
- User → App shell: uses
README.md - App shell → Sign-in forms: renders
frontend/src/App.jsx - App shell → Workflow board: renders
frontend/src/App.jsx - App shell → API client: checks session
frontend/src/App.jsx - App shell → Confirm dialog: requests confirmation
frontend/src/App.jsx - App shell → Toast alerts: shows alerts
frontend/src/App.jsx - Sign-in forms → API client: submits credentials
frontend/src/components/AuthPage.jsx - Sign-in forms → Board helpers: checks password
frontend/src/components/AuthPage.jsx - Sign-in forms → Toast alerts: shows alerts
frontend/src/components/AuthPage.jsx - Workflow board → API client: loads and changes items
frontend/src/components/Board.jsx - Workflow board → Item card: renders
frontend/src/components/Board.jsx - Workflow board → Item editor: opens editor
frontend/src/components/Board.jsx - Workflow board → Confirm dialog: confirms deletion
frontend/src/components/Board.jsx - Workflow board → Toast alerts: shows alerts
frontend/src/components/Board.jsx - Workflow board → Board helpers: filters and counts
frontend/src/components/Board.jsx - Item card → Board helpers: formats item details
frontend/src/components/ItemCard.jsx - Item editor → Board helpers: formats dates
frontend/src/components/ItemModal.jsx - API client → Django REST API: sends API requests
README.md - Django REST API → Auth endpoints: routes auth requests
- Django REST API → Item endpoints: routes item requests
- Auth endpoints → Auth validation: validates credentials
backend/accounts/views.py - Item endpoints → Item serialization: serializes items
backend/workflow/views.py - Item endpoints → Workflow item model: queries and saves
backend/workflow/views.py - Item endpoints → SQLite database: persists item operations
- Auth endpoints → SQLite database: stores tokens