Skip to content
/ ams Public

πŸ₯” AMS - Ampas Management System is a personal project built to manage the selling of soybean dregs (ampas).

Notifications You must be signed in to change notification settings

ahsanu123/ams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

npm version npm npm licence

licence

πŸ₯” Introduction

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.

🌳 Project Log

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
    ]

Loading

🎻 Old UI For Reference

image

  • 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

🎏 Useful Notes

  • running cargo test -> cargo test test_insert_product -- --nocapture
  • get expanded macro for debugging -> cargo expand --lib model::product

βš“ Reference

Work In Progress, Made With ❀️ By Ah...

About

πŸ₯” AMS - Ampas Management System is a personal project built to manage the selling of soybean dregs (ampas).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages