How henzalegado86-tech/alegado2f_communityservice works
This is a console-based community service request system. Users register or log in, then role-specific menus support resident requests, worker assignments and status updates, and administrator account and request management. SQLite persists accounts, categories, requests, and activity logs. The excerpts show startup, authentication dispatch, worker status changes, and several persistence components; some menu and DAO implementations were not sampled, so their internal links are omitted where the index does not establish a caller relationship.
Main entry points: CommunityService.db SQLite database
Components 20
Startup and access
- Application startup
- Authentication
- Console input
Request operations
- Shared menu actions
- Administrator actions
- Resident actions
- Worker actions
- Activity log view
Persistence
- Account persistence
- Request persistence
- Category persistence
- Activity persistence
- Schema initialization
- SQLite connection
- SQLite database
CommunityService.db
Domain records
- User record
- Service request record
- Category record
- Activity log record
Other components
- Console user
Connections 26
- Console user → Authentication: uses
- Application startup → Schema initialization: initializes
- Application startup → SQLite connection: reports path
- Application startup → Authentication: starts session
- Authentication → Account persistence: authenticates
- Authentication → Administrator actions: dispatches role
- Authentication → Resident actions: dispatches role
- Authentication → Worker actions: dispatches role
- Authentication → Activity persistence: records activity
- Administrator actions → Shared menu actions: inherits actions
- Worker actions → Request persistence: reads and updates
- Administrator actions → Activity log view: opens logs
- Shared menu actions → Request persistence: uses requests
- Shared menu actions → Account persistence: updates profile
- Shared menu actions → Category persistence: uses categories
- Shared menu actions → Activity persistence: records actions
- Activity log view → Activity persistence: reads logs
- Administrator actions → Account persistence: manages accounts
- Schema initialization → SQLite connection: opens connection
- Account persistence → SQLite connection: opens connection
- Request persistence → SQLite connection: opens connection
- Activity persistence → SQLite connection: opens connection
- SQLite connection → SQLite database: connects to
- Account persistence → User record: maps records
- Request persistence → Service request record: maps records
- Activity persistence → Activity log record: maps records