How adlanegrm-oss/esign-and-compliance works
eSIGN and Compliance is a document-signature and e-invoicing compliance platform. Its visible workflow includes API access, batch-signing responses, compliance checks and DGI export; Python utilities also simulate a signed-document batch, create archives, and persist audit and reporting data. The README describes cryptographic validation and a portal, but the sampled backend implements several endpoints as response stubs rather than showing real PDF signing or certificate validation. Frontend behavior and database schema details were not sampled.
Main entry points: backend_server.go HTTP API server · sign_200_batch.py PAdES batch simulation · import_to_postgres.py CSV data import · nightly_cron_daemon.py Nightly audit consolidation
Components 17
API services
- HTTP API server
backend_server.go - Authentication
backend_server.go - Batch-sign endpoint
backend_server.go - Admin metrics
backend_server.go - Certificate upload
backend_server.go
Compliance workflows
- DGI compliance check
backend_server.go - DGI export
backend_server.go - PAdES batch simulation
sign_200_batch.py - Signed-batch archives
sign_200_batch.py
Records and operations
- PostgreSQL
- CSV data import
import_to_postgres.py - Nightly audit consolidation
nightly_cron_daemon.py - Temporal consolidation simulation
run_global_test_simulation.py - Database schema
schema.sql
Other components
- Portal user
- Web portal
portal.html - Signature interface
signature_session.html
Connections 15
- Portal user → HTTP API server: calls API
backend_server.go - HTTP API server → Authentication: routes login
backend_server.go - HTTP API server → Batch-sign endpoint: routes signing
backend_server.go - HTTP API server → Admin metrics: routes metrics
backend_server.go - HTTP API server → Certificate upload: routes upload
backend_server.go - HTTP API server → DGI compliance check: routes check
backend_server.go - HTTP API server → DGI export: routes export
backend_server.go - PAdES batch simulation → Signed-batch archives: writes archives
sign_200_batch.py - PAdES batch simulation → PostgreSQL: writes signature logs
sign_200_batch.py - CSV data import → PostgreSQL: imports records
import_to_postgres.py - Nightly audit consolidation → PostgreSQL: writes audit event
nightly_cron_daemon.py - Temporal consolidation simulation → PostgreSQL: writes aggregates
run_global_test_simulation.py - Database schema → PostgreSQL: defines tables
- Web portal → HTTP API server: integrates API
README.md - Signature interface → HTTP API server: integrates API
README.md