Ampas Management System (AMS) is a personal project built to manage the selling of soybean dregs (ampas). The application helps streamline and track the entire selling process.
AMS is a desktop application developed using Tauri, leveraging its lightweight, secure, and cross-platform capabilities. On the backend, AMS uses:
- π Diesel as a type-safe and efficient query builder.
- π Sea-query for handling flexible and easy-to-manage database migrations.
The goal of AMS is to provide a simple, fast, and reliable system tailored specifically for personal use in managing daily operations of soybean dregs sales.
Expand Me!!!
flowchart TD
UStart(start for user)-->UA
UA[user select their name] --> UB[user insert how much they take]
UB --> UC[UI get back to dashboard and showing data how much user take]
AStart(start for admin) --> OpenHiddenMenu
OpenHiddenMenu[open hidden menu button and enter admin password]
OpenHiddenMenu --> Menu{what menu does admin click? lets use tab UI}
Menu --> UserPayment
Menu --> Report
Menu --> ChangeDregPrice
UserPayment
Report
ChangeDregPrice
UserPayment --> PaymentDescription[
admin able to check user bill or
change payment status for some duration
for user
]
Report --> ReportDescription[
admin able to generate report for some duration
including total revenue, total production,
total bill for every user, and detail
table how many user take for each day including
date detail
]
ChangeDregPrice --> ChangeDregPriceDescription[
admin able to change dreg price, dreg price
will record on database, and admin able to view all
record of dreg price
]
- 21 Januari 2025, running browser on raspberry pi zero 2 was to slow, even you don't start dotnet backend yet. after searching tauri seem solve this, but with consequence changing backend into tauri (rust).
- 24 Februari 2025, π·ββοΈ TODO create diesel migration and sea-query table builder combination, create macro to automate sea-query table function creation from struct model
- 25 Februari 2025, turn out diesel was sync (because its made before async in rust), for current case its ok to use sync.
- 8 Maret 2025, Create Basic structure of CRUD with Rust in ProductRepository
- π³ TODO: Implement DatabaseMetadata function with diesel.
- π³ TODO: create list of needed command for ui
- π³ TODO: create list of response name model for ui
- π³ TODO: create UI mockup
- π³ TODO: create needed query for command
- π³ TODO: create list logic for UI
- running cargo test ->
cargo test test_insert_product -- --nocapture
- get expanded macro for debugging ->
cargo expand --lib model::product
- Introducing the Identity API endpoints
- ASP.NET Core Identity Github Folder
- ASP.NET Core Identity Default Flow Implementation with Page
Work In Progress, Made With β€οΈ By Ah...