How pat-asc/plv-blockgo works
PLV Blockchain Grades Ledger combines role-based academic portals, ASP.NET workflows backed by PostgreSQL, and Node.js/Fabric ledger services. The principal flow is faculty grade entry, department-admin review, registrar finalization, then student access to finalized grades. Registrar account approval, enrollment and section assignment, curriculum management, bulk upload, audit history, support, and realtime chat are distinct supporting capabilities. Edges reflect the README and shown call/import evidence; ledger internals and several service implementations were not sampled, so their connections are documented rather than inferred from names.
Main entry points: GradeController.cs Grade workflows · BlockchainService.cs Blockchain adapter · api.js API client · AuthController.cs Account and auth
Components 22
Role Portals
- Role portals
frontend/src/App.js - API client
frontend/src/services/api.js
Academic Backend
- Account and auth
client-app/Controllers/AuthController.cs - Enrollment and sectioning
client-app/Services/EnrollmentSectioningService.cs - Curriculum management
client-app/Controllers/CurriculumsController.cs - Grade workflows
client-app/Controllers/GradeController.cs - Bulk grade upload
client-app/Controllers/BulkUploadController.cs - Student grade access
client-app/Controllers/StudentController.cs - Chat and notifications
client-app/Controllers/ChatHub.cs - Account provisioning
client-app/Services/AccountProvisioningService.cs - Audit events
client-app/Services/AuditLogService.cs - Blockchain adapter
client-app/Services/BlockchainService.cs
Identity and Ledger Bridge
- Middleware gateway
middleware/src/services/api-gateway.js - Middleware auth
middleware/src/services/auth-service.js - Ledger service
middleware/src/services/ledger-service.js - Fabric gateway
middleware/src/fabric/gateway-manager.js - Identity wallets
middleware/src/fabric/wallet-manager.js
Fabric Network
- Grade chaincode
chaincode/main.go - Fabric ledger state
- IPFS storage
Application State
- PostgreSQL
client-app/Models/RegistrarDbContext.cs
Other components
- Students, faculty, registrar
Connections 24
- Students, faculty, registrar → Role portals: use
README.md - Role portals → API client: request data
frontend/src/App.js - API client → Account and auth: authenticate
README.md - API client → Grade workflows: grade requests
README.md - API client → Enrollment and sectioning: manage enrollment
- Account and auth → Enrollment and sectioning: assign students
client-app/Controllers/AuthController.cs - Account and auth → Account provisioning: provision accounts
client-app/Controllers/AuthController.cs - Grade workflows → PostgreSQL: read and write
README.md - Enrollment and sectioning → PostgreSQL: read and write
client-app/Services/EnrollmentSectioningService.cs - Curriculum management → Blockchain adapter: record audit
client-app/Controllers/CurriculumsController.cs - Grade workflows → Blockchain adapter: submit and query
client-app/Controllers/GradeController.cs - Bulk grade upload → Blockchain adapter: submit grades
client-app/Controllers/BulkUploadController.cs - Student grade access → Blockchain adapter: query grades
client-app/Controllers/StudentController.cs - Grade workflows → Audit events: record events
- Grade workflows → Chat and notifications: notify changes
client-app/Controllers/GradeController.cs - Blockchain adapter → Middleware gateway: send ledger requests
README.md - Middleware gateway → Middleware auth: route auth
- Middleware gateway → Ledger service: route ledger
- Middleware auth → PostgreSQL: query accounts
middleware/src/services/auth-service.js - Ledger service → Fabric gateway: invoke transactions
- Fabric gateway → Identity wallets: load identities
middleware/src/fabric/gateway-manager.js - Fabric gateway → Grade chaincode: submit and query
README.md - Grade chaincode → Fabric ledger state: update ledger
README.md - Grade workflows → IPFS storage: store grading files
README.md