How giprojectongit/laqris-hackathon works
LaQris is a pre-payment QRIS security verification service. A user submits a scan through the browser; the backend coordinates physical/digital QRIS analysis, merchant identity checks, reputation assessment, and returns a risk/trust result. Users can also review merchant history and submit feedback or disputes. The graph reflects the documented product capabilities and sampled backend/frontend code; detailed route wiring for some features was not excerpted, so those relationships are documented rather than inferred from module names.
Main entry points: main.py Scan endpoint · database.py SQLite persistence · app.js Frontend interactions · engine.py EMRS reputation scoring
Components 18
User experience
- LaQris pages
LaQris/frontend - Frontend interactions
LaQris/frontend/js/app.js
QRIS verification
- Scan endpoint
LaQris/backend/main.py - Physical detection and OCR
LaQris/backend/engine.py - QR decode and parsing
LaQris/backend/engine.py - Merchant identity match
LaQris/backend/engine.py - Current QR risk
LaQris/backend/engine.py
Merchant risk
- EMRS reputation scoring
LaQris/backend/engine.py - Feedback and complaints
LaQris/backend/main.py - Merchant disputes
LaQris/backend/main.py - Merchant and scan history
LaQris/backend/main.py
Service and persistence
- API and routing
LaQris/backend/main.py - Authentication
LaQris/backend/main.py - API data schemas
LaQris/backend/schemas.py - Merchant and session entities
LaQris/backend/models.py - SQLite persistence
LaQris/backend/database.py
Other components
- Browser user
- Payment application
Connections 25
- Browser user → LaQris pages: uses
README.md - LaQris pages → Frontend interactions: loads
LaQris/frontend/js/app.js - Frontend interactions → API and routing: requests API
LaQris/frontend/js/app.js - API and routing → LaQris pages: serves
README.md - API and routing → Authentication: handles auth
README.md - API and routing → Scan endpoint: routes scans
LaQris/backend/main.py - Scan endpoint → Physical detection and OCR: analyzes image
README.md - Scan endpoint → QR decode and parsing: verifies payload
README.md - Scan endpoint → Merchant identity match: checks identity
README.md - Scan endpoint → Current QR risk: assesses risk
README.md - Scan endpoint → EMRS reputation scoring: gets reputation
LaQris/backend/engine.py - Scan endpoint → SQLite persistence: records session
LaQris/backend/main.py - Scan endpoint → API data schemas: returns typed data
LaQris/backend/main.py - Frontend interactions → Feedback and complaints: submits feedback
LaQris/frontend/js/app.js - API and routing → Feedback and complaints: processes feedback
README.md - API and routing → Merchant disputes: handles disputes
LaQris/backend/main.py - API and routing → Merchant and scan history: serves history
LaQris/backend/main.py - EMRS reputation scoring → SQLite persistence: reads reputation data
LaQris/backend/engine.py - Feedback and complaints → SQLite persistence: updates records
LaQris/backend/main.py - Merchant disputes → SQLite persistence: stores disputes
LaQris/backend/main.py - Merchant and scan history → SQLite persistence: reads merchant data
LaQris/backend/main.py - SQLite persistence → Merchant and session entities: maps records
LaQris/backend/database.py - EMRS reputation scoring → Merchant and session entities: uses merchant reports
LaQris/backend/engine.py - Payment application → API and routing: integrates verification
README.md - Frontend interactions → Current QR risk: presents result
README.md