How dwifauzan/sikopy-dekstop works
SIKOPY is a cross-platform green-bean inventory application. Users open the shared app on desktop, mobile, or browser, then manage materials and stock through its view-model workflow, backed by PostgreSQL. The graph preserves the documented platform launchers and the sampled inventory capabilities, including filtering, material maintenance, stock history, and stock changes. Several view bindings and platform startup details were not sampled, so only relationships visible in excerpts or explicitly documented are drawn.
Main entry points: RawMaterialsViewModel.cs Materials workflow · RawMaterialRepository.cs Material repository · App.axaml.cs Shared app startup · RawMaterial.cs Material model
Components 22
Platform launchers
- Desktop launcher
SIKOPY.Desktop/Program.cs - Android launcher
SIKOPY.Android/Application.cs - iOS launcher
SIKOPY.iOS/Main.cs - Browser launcher
SIKOPY.Browser/Program.cs
Shared application
- Shared app startup
SIKOPY/App.axaml.cs - Main navigation
SIKOPY/ViewModels/MainViewModel.cs - Main screen
SIKOPY/Views/MainView.axaml.cs - Materials screen
SIKOPY/Views/RawMaterialsView.axaml.cs
Inventory workflow
- Materials workflow
SIKOPY/ViewModels/RawMaterialsViewModel.cs - Material row actions
SIKOPY/ViewModels/RawMaterialRowViewModel.cs - Number parsing
SIKOPY/Helpers/NumberInput.cs - Material model
SIKOPY/Models/RawMaterial.cs - Material draft
SIKOPY/Models/RawMaterialDraft.cs - Lookup values
SIKOPY/Models/LookupItem.cs - Stock history model
SIKOPY/Models/StockHistoryEntry.cs - Paging values
SIKOPY/ViewModels/PageItem.cs
Persistence and data
- Material repository
SIKOPY/Database/RawMaterialRepository.cs - Connection factory
SIKOPY/Database/PostgresConnectionFactory.cs - Database health check
SIKOPY/Database/PostgresHealthCheck.cs - Database error messages
SIKOPY/Database/DatabaseErrorMessage.cs
Other components
- Inventory user
- PostgreSQL database
Connections 27
- Inventory user → Desktop launcher: starts app
README.md - Inventory user → Android launcher: starts app
README.md - Inventory user → iOS launcher: starts app
README.md - Inventory user → Browser launcher: starts app
README.md - Desktop launcher → Shared app startup: starts shared app
SIKOPY.Desktop/Program.cs - Android launcher → Shared app startup: hosts shared app
SIKOPY.Android/Application.cs - iOS launcher → Shared app startup: starts shared app
SIKOPY.iOS/Main.cs - Shared app startup → Main navigation: creates
SIKOPY/App.axaml.cs - Shared app startup → Main screen: creates
SIKOPY/App.axaml.cs - Main navigation → Materials workflow: owns workflow
SIKOPY/ViewModels/MainViewModel.cs - Materials workflow → Material repository: loads and changes
SIKOPY/ViewModels/RawMaterialsViewModel.cs - Materials workflow → Database error messages: formats failures
SIKOPY/ViewModels/RawMaterialsViewModel.cs - Materials workflow → Number parsing: parses entries
SIKOPY/ViewModels/RawMaterialsViewModel.cs - Materials workflow → Material row actions: creates page rows
SIKOPY/ViewModels/RawMaterialsViewModel.cs - Materials workflow → Paging values: creates page values
SIKOPY/ViewModels/RawMaterialsViewModel.cs - Material row actions → Material model: uses material data
SIKOPY/ViewModels/RawMaterialRowViewModel.cs - Material repository → Connection factory: opens connections
SIKOPY/Database/RawMaterialRepository.cs - Material repository → PostgreSQL database: queries and updates
SIKOPY/Database/RawMaterialRepository.cs - Database health check → Connection factory: uses factory
SIKOPY/Database/PostgresHealthCheck.cs - Materials workflow → Material model: loads and filters
SIKOPY/ViewModels/RawMaterialsViewModel.cs - Materials workflow → Material draft: builds form data
SIKOPY/ViewModels/RawMaterialsViewModel.cs - Materials workflow → Lookup values: loads choices
SIKOPY/ViewModels/RawMaterialsViewModel.cs - Materials workflow → Stock history model: loads history
SIKOPY/ViewModels/RawMaterialsViewModel.cs - Material repository → Material model: maps query results
SIKOPY/Database/RawMaterialRepository.cs - Material repository → Material draft: stores material data
SIKOPY/Database/RawMaterialRepository.cs - Material repository → Lookup values: returns lookup data
SIKOPY/Database/RawMaterialRepository.cs - Material repository → Stock history model: returns stock history
SIKOPY/Database/RawMaterialRepository.cs