Demo

နည်းပညာ စုစည်းမှု

Quark ERP / Quan ERP ဂေဟစနစ်တစ်လျှောက် အသုံးပြုသော ဘာသာစကား၊ framework၊ ဒေတာသိမ်းဆည်းမှု၊ UI library နှင့် runtime များ၏ အသေးစိတ်စာရင်း — လက်ရှိ base stack မှ major version များနှင့်အတူ ဖြစ်ပါသည်။

အနှစ်ချုပ်

Quark ERP သည် TypeScript ကို ဦးစားပေးသော plugin-based ERP ဖြစ်ပါသည်။ Base core နှင့် plugin တိုင်းသည် @quan-erp/* package များ၏ ဗားရှင်းလိုင်း တစ်ခုတည်းကို မျှဝေအသုံးပြုပါသည် (လက်ရှိ 1.x) — ထို့ကြောင့် backend DI၊ frontend core API နှင့် platform bridge များ ကိုက်ညီစွာ ဆက်လက် အလုပ်လုပ်ပါသည်။

  • Backend plugin များသည် Express အခြေခံ custom framework (@quan-erp/shared-backend-core) ပေါ်တွင် လည်ပတ်ပါသည်
  • Frontend plugin များသည် React + Vite app များဖြစ်ပြီး၊ runtime တွင် base core သို့ မှတ်ပုံတင်ပါသည်
  • UI codebase တစ်ခုတည်းဖြင့် Web၊ Desktop (Electron) နှင့် Mobile (Capacitor) ကို ပစ်မှတ်ထားပါသည်
  • Plugin မှီခိုမှုများနှင့် requiredBasedVersion ကို base 1.x လိုင်းနှင့် ကိုက်ညီအောင် ထားရှိပါ

Backend

Base နှင့် plugin backend များအတွက် server-side stack ဖြစ်ပါသည်။ အောက်ပါ major version များကို quan-erp-node-core/base (backend package.json၊ shared-backend-core နှင့် docker-compose) မှ ယူထားပါသည်။

နည်းပညာအခန်းကဏ္ဍဗားရှင်းမှတ်ချက်
TypeScriptLanguage5All backend services and entities; ESM builds with .js import extensions
Quark ERP FrameworkPlugin host / DI / HTTP1Based on Express.js — IPlugin, @Module, controllers, middleware, lifecycle hooks
TypeORMORM0Entities, repositories, QueryRunner, synchronize (dev), and migrations (staging/prod)
PostgreSQLPrimary database17Persistent ERP data (often via pgbouncer in compose)
RedisCache / sessions / jobs7Caching, sessions, and queue / cron helpers

Frontend

Base core နှင့် plugin frontend များအတွက် client stack ဖြစ်ပါသည်။ အောက်ပါ major version များကို quan-erp-node-core/base/frontend/package.json မှ ယူထားပါသည်။

နည်းပညာအခန်းကဏ္ဍဗားရှင်းမှတ်ချက်
ReactUI library19Plugin screens, core chrome, and shared components
TypeScriptLanguage5All frontend packages; keep types aligned with shared-types / export surfaces
Tailwind CSSStyling4Utility-first styling; match core / shared-ui patterns
TanStack React QueryServer state5Fetching, caching, and mutations for backend APIs
ZustandClient state5Lightweight stores for core/plugin UI state
CapacitorMobile runtime7Native iOS / Android (@capacitor/core); prefer Platforms helpers from shared-frontend-core

တင်သွင်းမှုနှင့် ပလက်ဖောင်းများ

Frontend artifact တစ်ခုတည်းကို ပစ်မှတ်အမျိုးမျိုးတွင် ပြေးနိုင်ပါသည်။ Plugin များတွင် native API ကို တိုက်ရိုက် မရေးဘဲ၊ shared-frontend-core မှ Platforms အကူအညီများကို အသုံးပြုပါ။

ပစ်မှတ်Runtimeဗားရှင်းတင်ပို့ပုံမှတ်ချက်
WebBrowser + NginxBase frontend container / static hostDefault local compose target on :80
DesktopElectron39Desktop app wrapping the web appUse Platforms.isDesktop() for desktop-only paths
MobileCapacitor7Native iOS / Android appCamera, haptics, filesystem, etc. via shared-frontend-core
Server / hostDocker Compose1Postgres, Redis, backend, frontendSee Deployment for install.sh / compose layout

Desktop

Electron 39

Mobile

Capacitor 7

Web

Web