How bangaru2021wa86916/employee-productivity-report works
This is an employee productivity management web application. An administrator signs in, then views and manages employee productivity records, edits feedback, and downloads CSV or PDF reports. The browser stores a JWT and sends it with protected API requests; the Flask service handles authentication, record operations, and report generation using MySQL. The excerpts show the browser/API calls and database access, but the README is empty and the schema and visual frontend files were not sampled.
Main entry points: script.js Employee dashboard · app.py Employee routes · init.sql Employee database
Components 11
Browser application
- Employee dashboard
frontend/script.js - Sign-in and session
frontend/script.js - Employee roster
frontend/script.js - Feedback editor
frontend/script.js - Report downloads
frontend/script.js
Flask API
- Authentication routes
backend/app.py - Employee routes
backend/app.py - Report generation
backend/app.py - Connection pool
backend/app.py
Persistence
- Employee database
database/init.sql
Other components
- Administrator
Connections 17
- Administrator → Employee dashboard: uses
- Employee dashboard → Sign-in and session: signs in
frontend/script.js - Employee dashboard → Employee roster: manages records
frontend/script.js - Employee dashboard → Feedback editor: opens editor
frontend/script.js - Employee dashboard → Report downloads: downloads reports
frontend/script.js - Sign-in and session → Authentication routes: requests login
frontend/script.js - Employee dashboard → Authentication routes: requests logout
frontend/script.js - Employee roster → Employee routes: loads records
frontend/script.js - Employee roster → Employee routes: adds records
frontend/script.js - Employee roster → Employee routes: updates records
frontend/script.js - Employee roster → Employee routes: deletes records
frontend/script.js - Feedback editor → Employee routes: saves feedback
frontend/script.js - Report downloads → Report generation: requests exports
frontend/script.js - Authentication routes → Connection pool: queries admins
backend/app.py - Employee routes → Connection pool: reads and writes
backend/app.py - Report generation → Connection pool: reads records
backend/app.py - Connection pool → Employee database: opens pooled connections
backend/app.py