How mallikantipavan/sewasetu works
Sewa Setu is an old-age pension portal with a citizen application/status journey, departmental processing, and an OAuth 2.1 authorization service. The graph preserves these distinct product branches and the nightly statutory approval job, plus the simulated SMS gateway. The excerpts show key calls and database operations; OAuth and admin details beyond the sampled sections are represented at module level, with no inferred internal call chains.
Main entry points: oauth.py OAuth endpoints · schema.sql Portal database · app/app.py Application journey · smsgw/app.py SMS gateway
Components 12
Citizen services
- Application journey
app/app.py - Submission validation
app/app.py - Status and connections
app/app.py - Proof and acknowledgment
app/app.py
Department operations
- Review and decisions
app/app.py - Deemed approval
app/scripts/deemed_approval.py
OAuth authorization
- OAuth endpoints
app/oauth.py
Shared infrastructure
- Portal database
app/schema.sql - SMS gateway
smsgw/app.py
Other components
- Applicant
- Departmental user
- Third-party application
Connections 21
- Applicant → Application journey: starts application
README.md - Application journey → SMS gateway: sends OTP
app/app.py - Application journey → Submission validation: validates submission
app/app.py - Submission validation → Portal database: checks active applications
app/app.py - Application journey → Portal database: stores application
app/app.py - Applicant → Status and connections: checks or withdraws
README.md - Status and connections → Portal database: reads application
app/app.py - Applicant → Proof and acknowledgment: uploads proof
README.md - Proof and acknowledgment → Portal database: reads application
- Departmental user → Review and decisions: reviews applications
README.md - Review and decisions → Portal database: records decisions
README.md - Deemed approval → Portal database: updates overdue cases
app/scripts/deemed_approval.py - Deemed approval → SMS gateway: sends notification
app/scripts/deemed_approval.py - Applicant → OAuth endpoints: authorizes citizen access
README.md - Departmental user → OAuth endpoints: authorizes officer access
README.md - Third-party application → OAuth endpoints: requests authorization
README.md - OAuth endpoints → Portal database: stores OAuth records
app/oauth.py - OAuth endpoints → Status and connections: uses portal sign-in
app/oauth.py - OAuth endpoints → Review and decisions: uses departmental login
app/oauth.py - OAuth endpoints → Third-party application: issues tokens
README.md - Application journey → SMS gateway: sends notifications