How ist-team3/team3-lms works
LinkHub is a bookmark and team-work management application: users authenticate, organize and search personal links, collaborate through team links, and manage assigned task progress; administrators can inspect audit logs. The React frontend calls a Flask REST API, whose route handlers enforce access rules and persist domain records. The README describes the frontend API layer as replaceable, while the sampled client currently sends authenticated HTTP requests. Backend route coverage beyond the sampled task and link handlers is based on the source index and README capability descriptions.
Main entry points: models Domain records · views Product screens · audit.py Audit logging · App.jsx Application shell
Components 27
Web application
- Application shell
frontend/src/App.jsx - Route guards
frontend/src/routes.jsx - Authentication state
frontend/src/context/AuthContext.jsx - Theme selection
frontend/src/context/ThemeContext.jsx - Product screens
frontend/src/views - Link workflows
frontend/src/views/MyLinksView.jsx - Team workflows
frontend/src/views/TeamDetailView.jsx - Task board
frontend/src/views/KanbanView.jsx - Audit console
frontend/src/views/AdminLogsView.jsx - Data hooks
frontend/src/hooks
API and access
- API services
frontend/src/api - HTTP client
frontend/src/api/client.js - Flask API
backend/app/__init__.py
Domain services
- Authentication routes
backend/app/routes/auth.py - Personal link routes
backend/app/routes/links.py - Category routes
backend/app/routes/categories.py - Team routes
backend/app/routes/teams.py - Membership routes
backend/app/routes/team_members.py - Team link routes
backend/app/routes/team_links.py - Task routes
backend/app/routes/tasks.py - Admin routes
backend/app/routes/admin.py - Role and membership checks
backend/app/utils/decorators.py - Audit logging
backend/app/utils/audit.py
Persistence
- Domain records
backend/app/models - SQLAlchemy database
backend/app/extensions.py - Audit records
backend/app/models/audit_log.py
Other components
- User
Connections 31
- User → Application shell: uses
README.md - Application shell → Route guards: renders
frontend/src/App.jsx - Application shell → Authentication state: provides
frontend/src/App.jsx - Application shell → Theme selection: provides
frontend/src/App.jsx - Route guards → Authentication state: checks session
frontend/src/routes.jsx - Route guards → Product screens: routes to
frontend/src/routes.jsx - Product screens → Link workflows: includes
- Product screens → Team workflows: includes
- Product screens → Task board: includes
- Product screens → Audit console: includes
frontend/src/routes.jsx - Authentication state → API services: authenticates through
frontend/src/context/AuthContext.jsx - Data hooks → API services: calls
frontend/src/hooks/useLinks.js - API services → HTTP client: requests through
frontend/src/api/linksApi.js - HTTP client → Flask API: sends HTTP
README.md - Flask API → Authentication routes: registers
backend/app/__init__.py - Personal link routes → Domain records: reads and writes
backend/app/routes/links.py - Category routes → Domain records: reads and writes
- Team routes → Domain records: reads and writes
- Membership routes → Domain records: reads and writes
- Team link routes → Domain records: reads and writes
- Task routes → Domain records: reads and writes
backend/app/routes/tasks.py - Authentication routes → Domain records: reads and writes
backend/app/routes/auth.py - Admin routes → Audit records: reads
- Personal link routes → Role and membership checks: checks access
backend/app/routes/links.py - Task routes → Role and membership checks: checks identity
backend/app/routes/tasks.py - Task routes → Audit logging: records actions
backend/app/routes/tasks.py - Personal link routes → Audit logging: records actions
backend/app/routes/links.py - Authentication routes → Audit logging: records actions
backend/app/routes/auth.py - Audit logging → Audit records: creates records
backend/app/utils/audit.py - Audit logging → SQLAlchemy database: commits
backend/app/utils/audit.py - Domain records → SQLAlchemy database: maps records
backend/app/models/category.py