How ck-embpro/primature_board_tracker works
Primature Board Tracker is a Flask web application for managing institutions, board members, users and board roles, with tenure tracking and notifications. Users access the application through its registered routes; those routes render pages and read or update SQLAlchemy-backed records. A separate notification run checks active members against configurable expiry thresholds, archives expired members, and may send email. The route excerpt is partial and the README gives no capability detail, so feature links not directly demonstrated in sampled code are kept broad or omitted.
Main entry points: main.py Web routes · models.py ORM models · email_service.py Email delivery · notifications.py Expiry check job
Components 17
Web application
- Flask app
app/__init__.py - Web routes
app/routes/main.py - Application pages
app/templates - Auto filtering
app/static/js/auto-filter.js - Table paging
app/static/js/tbl-paginator.js
Board management
- Institutions
app/routes/main.py - Board members
app/routes/main.py - User accounts
app/routes/main.py - Board roles
app/routes/main.py - Audit logging
app/routes/main.py
Tenure notifications
- Notification settings
app/routes/main.py - Expiry check job
notifications.py - Email delivery
app/services/email_service.py
Persistence
- ORM models
app/models/models.py - Application database
Other components
- Staff user
- SMTP server
Connections 22
- Staff user → Flask app: uses
- Flask app → Web routes: registers routes
- Web routes → Application pages: renders pages
- Web routes → Institutions: handles requests
- Web routes → Board members: handles requests
- Web routes → User accounts: handles requests
- Web routes → Board roles: handles requests
- Web routes → Audit logging: records actions
- Web routes → Notification settings: handles requests
- Institutions → ORM models: queries and updates
- Board members → ORM models: queries and updates
- User accounts → ORM models: queries and updates
- Board roles → ORM models: queries and updates
- Audit logging → ORM models: writes entries
- Notification settings → ORM models: reads and updates
- ORM models → Application database: persists records
- Staff user → Auto filtering: filters lists
- Staff user → Table paging: pages tables
- Expiry check job → ORM models: reads and updates
- Expiry check job → Email delivery: sends alerts
- Email delivery → ORM models: looks up recipients
- Email delivery → SMTP server: delivers email