How apknation/zero-foleni works
Zero Foleni is a Flutter client with a Django/Graphene backend for citizen accounts, bank and institution services, appointments, and queue tickets. The evident backend workflow is a client request to the GraphQL endpoint, schema resolvers or mutations operating on domain models, and persisted results. Flutter feature screens and its API wiring are represented from the tree only; their connections are unverified. The root and backend schema files are both substantial indexed modules, but only the backend schema is explicitly configured by Django settings.
Main entry points: api_service.dart API client · models.py Backend models · auth Account access · home Home and services
Components 20
Flutter client
- Account access
lib/features/auth - Home and services
lib/features/home - Bank services
lib/features/bank/screens - Institution services
lib/features/hospitals - Government services
lib/features/government/screens - University services
lib/features/university/screens - Appointments
lib/features/booking - Queue tracking
lib/features/queue - Visit history
lib/features/history - Citizen profile
lib/features/profile - API client
lib/core/services/api_service.dart - App navigation
lib/core/router/app_router.dart
API service
- GraphQL endpoint
backend/zerofoleni/zerofoleni/urls.py - GraphQL schema
backend/zerofoleni/zerofoleni/schema.py - Root schema copy
zerofoleni/schema.py
Domain data
- Domain models
core/models.py - Backend models
backend/zerofoleni/core/models.py - PostgreSQL
Data operations
- Initial data seeding
backend/zerofoleni/core/management/commands/seed_data.py
Other components
- Citizen
Connections 24
- Citizen → Account access: uses
- Citizen → Home and services: browses
- Citizen → Bank services: selects services
- Citizen → Institution services: selects services
- Citizen → Government services: selects services
- Citizen → University services: selects services
- Citizen → Appointments: books appointments
- Citizen → Queue tracking: tracks tickets
- Citizen → Visit history: views history
- Citizen → Citizen profile: views profile
- Account access → API client: uses
- Home and services → API client: uses
- Bank services → API client: uses
- Institution services → API client: uses
- Government services → API client: uses
- University services → API client: uses
- Appointments → API client: uses
- Queue tracking → API client: uses
- API client → GraphQL endpoint: sends requests
- GraphQL endpoint → GraphQL schema: serves GraphQL
backend/zerofoleni/zerofoleni/urls.py - GraphQL schema → Backend models: queries and mutates
backend/zerofoleni/zerofoleni/schema.py - Backend models → PostgreSQL: persists records
- Initial data seeding → Backend models: creates sample records
backend/zerofoleni/core/management/commands/seed_data.py - Root schema copy → Domain models: queries and mutates
zerofoleni/schema.py