How snyperryfle/unicureplus works
UniCurePlus is a Flutter supplier-facing UiTM e-procurement prototype backed by PHP/MySQL. Suppliers sign in, then use screens for invitations and tender submissions, purchase orders and delivery status, invoices, notifications, and company profiles. Authentication, order, and invoice operations are API-backed; README notes that some screens still use static demo data. The graph preserves those documented capabilities, but the UI-to-service wiring for individual screens is not established by the excerpts, so those connections are omitted. Windows runner nodes represent the platform host, not procurement logic.
Main entry points: api_bootstrap.php API bootstrap · login_screen.dart Supplier login · pesanan_list_screen.dart Purchase orders · invoice Invoice workflow
Components 27
Flutter client
- Application entry
lib/main.dart - Route configuration
lib/router/app_router.dart - App models
lib/models/app_models.dart - Prototype data
lib/data/dummy_data.dart
Procurement workflows
- Supplier login
lib/screens/login_screen.dart - Dashboard
lib/screens/home_screen.dart - Invitations
lib/screens/pelawaan_list_screen.dart - Tender submission
lib/screens/tender - Purchase orders
lib/screens/pesanan_list_screen.dart - Delivery status
lib/screens/tender/tender_delivery_record_screen.dart - Invoice workflow
lib/screens/invoice - Notifications
lib/screens/notifications_screen.dart - Company profile
lib/screens/profile_screen.dart
Client services
- Auth session
lib/services/auth_session.dart - Auth API client
lib/services/auth_api.dart - Orders API client
lib/services/orders_api.dart - Invoices API client
lib/services/invoices_api.dart - Invoice store
lib/data/invoice_store.dart
PHP and data
- Auth endpoint
backend/uitm_api/auth.php - Orders endpoint
backend/uitm_api/orders.php - Invoices endpoint
backend/uitm_api/invoices.php - API bootstrap
backend/uitm_api/api_bootstrap.php - MySQL schema
database/schema.sql
Windows host
- Windows entry point
windows/runner/main.cpp - Flutter window host
windows/runner/flutter_window.cpp - Win32 window
windows/runner/win32_window.cpp
Other components
- Supplier
Connections 22
- Supplier → Supplier login: signs in
README.md - Supplier → Dashboard: uses
README.md - Supplier → Invitations: reviews
README.md - Supplier → Tender submission: submits tender
README.md - Supplier → Purchase orders: reviews orders
README.md - Supplier → Delivery status: checks delivery
README.md - Supplier → Invoice workflow: manages invoices
README.md - Supplier → Notifications: views
README.md - Supplier → Company profile: manages profile
README.md - Application entry → Route configuration: configures navigation
- Supplier login → Auth API client: authenticates
- Purchase orders → Orders API client: requests orders
- Invoice workflow → Invoices API client: requests invoices
- Auth API client → Auth endpoint: calls API
README.md - Orders API client → Orders endpoint: calls API
README.md - Invoices API client → Invoices endpoint: calls API
README.md - Auth endpoint → API bootstrap: loads helpers
backend/uitm_api/auth.php - Invoices endpoint → API bootstrap: loads helpers
backend/uitm_api/invoices.php - Orders endpoint → API bootstrap: loads helpers
backend/uitm_api/orders.php - API bootstrap → MySQL schema: connects to
- Windows entry point → Flutter window host: creates host
windows/runner/main.cpp - Flutter window host → Win32 window: extends window