Skip to content

Kaik0405/Ryum_Control

Repository files navigation

GestionApp β€” Distribution Management System

Desktop application built in C# + WPF (.NET 8) focused on the day‑to‑day operation of a distribution business: inventory, combos, deliveries, costs, and movements. It prioritizes clean architecture, explicit business rules, and a consistent UX.

🚧 Project status

Actively in development. The system is continuously evolving and improvements are added progressively. This repository reflects ongoing work.

✨ Key features

  • πŸ“¦ Inventory with stock control and movement traceability.
  • 🧩 Combos/groupings and product relationships.
  • 🚚 Deliveries with priorities and date‑based alerts.
  • πŸ’Ύ Local persistence with SQLite + EF Core.
  • 🧭 Modular navigation and reactive UI through MVVM.

🧱 Architecture & design

  • 🧩 MVVM with strict separation of View ↔ ViewModel ↔ Model.
  • 🧰 Dependency Injection for services, navigation, and ViewModels.
  • 🧠 Domain services encapsulating business rules.
  • πŸ—‚οΈ Soft delete to preserve traceability.

πŸ› οΈ Environment requirements

  • πŸͺŸ Windows 10/11 (WPF is Windows‑only).
  • 🧬 .NET SDK 8.0 or later.

▢️ Installation & run

dotnet restore
dotnet build
dotnet run

If the process is blocking compilation:

taskkill /F /IM GestionApp.exe
dotnet build

πŸ—„οΈ Database

Local SQLite database created automatically at startup using EnsureCreated():

%APPDATA%\GestionApp\gestion.db

Technical note: if you change models or relationships, delete gestion.db and run again. Migrations are not used in this workflow.

πŸ—‚οΈ Repository structure

GestionApp/
β”œβ”€β”€ Data/              # DbContext and EF Core configuration
β”œβ”€β”€ Helpers/           # Commands, converters, and MVVM utilities
β”œβ”€β”€ Models/            # Domain entities
β”œβ”€β”€ Services/          # Business and navigation services
β”œβ”€β”€ ViewModels/        # Presentation logic
β”œβ”€β”€ Views/             # WPF views (XAML)
β”œβ”€β”€ App.xaml           # Resources and DataTemplates
β”œβ”€β”€ MainWindow.xaml    # Main shell
└── GestionApp.csproj

πŸ“¦ Core packages

Package Purpose
Microsoft.EntityFrameworkCore.Sqlite SQLite persistence
Microsoft.EntityFrameworkCore.Tools EF Core tooling
Microsoft.Extensions.DependencyInjection DI container

πŸ§ͺ Developer quick guide

  • Keep logic in services and ViewModels; views should be β€œthin”.
  • Forms use string for numeric fields to avoid decimal format issues.
  • Critical operations register movements for auditability.

πŸ“š Documentation

  • Extended technical documentation in docs/DOCUMENTACION.md.

🀝 Contributing

If you want to collaborate, open an issue describing the proposed change. PRs should include a clear technical description and minimal manual verification steps.


Built with C# and WPF (.NET 8).

About

πŸš€ Distribution management desktop app built with C# and WPF (.NET 8), featuring inventory control, combo management, delivery workflows with date-based alerts, and a clean MVVM architecture.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages