ကိုယ်ပိုင် clone ကူး၍ ပိုင်ဆိုင်နိုင်သော mobile app template များ
Open-source mobile app templates you clone and own. Fork one, drop in your brand and a sandbox key, and publish under your own Apple / Google accounts. DOEH provides the SDK, APIs, sandbox, and the template — you own the app.
သင် clone ကူး၍ ပိုင်ဆိုင် နိုင်သော open-source mobile app template များ။ တစ်ခုကို fork လုပ်၊ သင့်အမှတ်တံဆိပ်နှင့် sandbox key ထည့်ကာ သင့်ကိုယ်ပိုင် Apple / Google account များဖြင့် ထုတ်ဝေပါ။ DOEH က SDK၊ API၊ sandbox နှင့် template ကို ပေးသည် — app ကို သင် ပိုင်ဆိုင်သည်။
Clone → Brand → Deploy Broker → Submit Stores
A complete, store-publishable loyalty app built on the stable Loyalty module: look up a member, earn points by purchase amount, redeem, and read the ledger — every call through the published TypeScript SDK, never raw HTTP.
တည်ငြိမ်သော Loyalty module ပေါ်တွင် တည်ဆောက်ထားသော store တွင် ထုတ်ဝေနိုင်သည့် loyalty app အပြည့်အစုံ — member ရှာ၊ ဝယ်ယူပမာဏအလိုက် point ရ၊ redeem လုပ်၊ ledger ဖတ် — ခေါ်ဆိုမှုတိုင်းကို ထုတ်ဝေပြီး TypeScript SDK မှတစ်ဆင့်၊ raw HTTP ဖြင့် ဘယ်တော့မှ မဟုတ်။
View the template repository →
template repository ကို ကြည့်ပါ →
These are first-party / platform concerns — the template is for building your app, not replacing the merchant back-office.
ဤအရာများသည် first-party / platform ကိစ္စများ ဖြစ်သည် — template သည် သင့် app တည်ဆောက်ရန်အတွက်ဖြစ်ပြီး merchant back-office ကို အစားထိုးရန် မဟုတ်ပါ။
git clone https://github.com/beyondplusmyanmar-lab/doeh-loyalty-template
cd doeh-loyalty-template
pnpm bootstrap # one-command setup
pnpm doctor # verify brand, ids, assets, env
pnpm start # run in Expo (mock mode needs no key)
Add a sandbox key to exercise the real API end-to-end:
အစစ်အမှန် API ကို အစအဆုံး စမ်းသပ်ရန် sandbox key တစ်ခု ထည့်ပါ —
export DOEH_API_KEY=sk_test_<keyid>_<secret>
pnpm smoke:sandbox # earn → balance → redeem → 409 → idempotent replay
Five branding-only packs in examples/ — copy one over brand.json,
run pnpm doctor, and you have a re-skinned app. No business logic, just identity.
examples/ ထဲတွင် branding သက်သက် pack ၅ ခု — တစ်ခုကို brand.json ပေါ် ကူးချ၊
pnpm doctor ကို run လျှင် အသွင်ပြောင်းပြီးသား app ရသည်။ business logic မပါ၊ identity သက်သက်သာ။
sk_test_… key from the portal.pnpm bootstrap.brand.json — name, colors, icon, bundle ids.pnpm doctor to verify the brand and config.sk_live_ server-side).pnpm smoke:sandbox and a device preview build.sk_test_… key တစ်ခု ရယူပါ။pnpm bootstrap ကို run ပါ။brand.json ကို တည်းဖြတ်ပါ — အမည်၊ အရောင်၊ icon၊ bundle id များ။pnpm doctor ကို run ပါ။sk_live_ ကို server ဘက်တွင် ထိန်းသိမ်းသည်)။pnpm smoke:sandbox နှင့် device preview build တစ်ခု။Sandbox apps talk to DOEH directly with a sk_test_… key. A production
app must never embed a live key — it calls a broker you deploy and own, which
holds the sk_live_… secret server-side and swaps it in. The Starter Kit ships the broker
as reference code you run yourself.
Sandbox app များသည် sk_test_… key ဖြင့် DOEH နှင့် တိုက်ရိုက် ဆက်သွယ်သည်။ production
app သည် live key ကို ဘယ်တော့မှ အတွင်းမှာ မထည့်ရ — ၎င်းသည် သင် deploy လုပ်၍ ပိုင်ဆိုင်သော broker ကို
ခေါ်သည်။ ထို broker က sk_live_… secret ကို server ဘက်တွင် ထိန်းသိမ်းပြီး အစားထိုးပေးသည်။ Starter Kit သည် broker ကို
သင်ကိုယ်တိုင် run သော reference code အဖြစ် ပေးသည်။
App
└─ sk_test_…
↓
DOEH Sandbox API
No broker required.
broker မလိုအပ်ပါ။
App
└─ short-lived token
↓
Merchant Broker (you deploy)
└─ sk_live_…
↓
DOEH API
Broker holds the secret; the app never sees it.
broker က secret ကို ထိန်းသိမ်းသည်။ app က ၎င်းကို ဘယ်တော့မှ မမြင်ရ။
sk_live_ storagesk_live_ သိမ်းဆည်းမှုsk_test_… keys. A planned
publishable-key capability would later make the broker optional.
sk_test_… key ဖြင့် broker မပါဘဲ အလုပ်လုပ်သည်။
စီစဉ်ထားသော publishable-key စွမ်းဆောင်ရည်က နောင်တွင် broker ကို မဖြစ်မနေ မလိုအောင် လုပ်ပေးမည်။
Full walkthrough and checklists live in the template's docs/ (ONBOARDING, EAS,
PRODUCTION, SUBMISSION). The starter is frozen at v1.2.1: it gains bug fixes,
SDK parity, and Expo upgrades, but no new merchant-admin surface.
အပြည့်အစုံ လမ်းညွှန်နှင့် checklist များကို template ၏ docs/ (ONBOARDING, EAS, PRODUCTION,
SUBMISSION) တွင် တွေ့နိုင်သည်။ starter ကို v1.2.1 တွင် frozen လုပ်ထားသည် — bug fix များ၊ SDK parity နှင့်
Expo upgrade များ ရသော်လည်း merchant-admin မျက်နှာစာ အသစ် မပါပါ။