A Flutter mobile application for streamlined traffic citation processing using finite state machine (FSM) workflow and cloud-based document processing.
Hybrid FSM + Cloud AI Approach
- Client: Lightweight FSM workflow (50MB) for optimal mobile performance
- Server: Cloud-based AI document classification and processing
- Benefits: Fast user experience with intelligent error correction
- Progress Tracking: Visual progress indicator with 7-step workflow
- Document Capture: Camera integration for license, registration, insurance documents
- Cloud Storage: AWS S3 integration for secure document storage
- Real-time Updates: Firebase Realtime Database for status tracking
- Error Correction: Server-side document classification corrects user mistakes
start → licenseFront → registration → insurance → contact → review → done
- Frontend: Flutter/Dart
- State Management: Provider pattern
- Cloud Storage: AWS S3 (us-west-2, itis.kapix-citation bucket)
- Database: Firebase Realtime Database
- Authentication: Firebase Auth
- Region:
us-west-2 - Bucket:
itis.kapix-citation
- Realtime Database:
https://itis-kapix-citation.firebaseio.com - Document structure:
users/{userId}/citations/{citationId}/documents/{auto_generated_id}
- Flutter SDK
- AWS credentials configured
- Firebase project setup
- Clone the repository
git clone https://github.com/itis-corp-com/kapix-citation.git
cd kapix-citation- Install dependencies
flutter pub get-
Configure credentials in
lib/config/app_config.dart -
Run the app
flutter runlib/
├── config/ # App configuration and credentials
├── models/ # Data models and FSM states
├── providers/ # State management (Progress, Upload)
├── services/ # AWS S3 and Firebase services
├── widgets/ # Reusable UI components
└── screens/ # App screens and navigation
- Mock flow advances through citation steps on any photo capture for testing
- Firebase auto-generated keys simplify document management
- Server-side processing allows correction of user document type mistakes
- Designed for muscle memory development from prompts to automatic workflow
Proprietary - ITIS Corporation