How aarsha-saranya/qr-based-certifiacte-verification-system works
CertiTrust lets institutions manage accounts and issue certificates, then lets anyone check a certificate through a public verification page. The main flow is account access → certificate issuance and storage → QR-linked verification. The sampled code also implements owner-checked PDF download and preview routes, despite the README describing PDF download as unfinished. The map reflects the excerpts and README; other routes and page details are not assumed beyond documented capabilities.
Main entry points: models.py Certificate records · templates Verification page · certificate_routes.py PDF access routes · app.py Certificate issuance
Components 14
Institution accounts
- Account access
app.py - Dashboard and records
app.py
Certificate lifecycle
- Certificate issuance
app.py - Certificate records
models.py - QR generation
app.py - PDF access routes
certificate_routes.py - PDF generation
certificate_pdf.py
Public verification
- Verification page
templates - Verification client
static/verify.js - Public certificate lookup
app.py
Data persistence
- SQLite database
database.py
Other components
- Institution user
- Public verifier
- Application runtime
app.py
Connections 20
- Institution user → Account access: signs in
README.md - Institution user → Dashboard and records: views records
README.md - Institution user → Certificate issuance: submits certificate
README.md - Account access → SQLite database: reads and writes
app.py - Certificate issuance → Certificate records: creates record
app.py - Dashboard and records → Certificate records: lists records
app.py - Certificate records → SQLite database: queries and writes
models.py - Certificate issuance → QR generation: provides certificate ID
app.py - Institution user → PDF access routes: requests PDF
- PDF access routes → Certificate records: loads owned record
certificate_routes.py - PDF access routes → PDF generation: generates PDF
certificate_routes.py - Public verifier → Verification page: opens link
README.md - Verification page → Verification client: loads script
- Verification client → Public certificate lookup: fetches details
static/verify.js - Public certificate lookup → Certificate records: looks up certificate
app.py - Public certificate lookup → Verification page: renders result
app.py - QR generation → Verification page: encodes verification link
app.py - PDF generation → Verification page: embeds verification link
certificate_pdf.py - Application runtime → SQLite database: initializes schema
app.py - Application runtime → PDF access routes: registers routes
app.py