├── .gitignore ├── README.md ├── app.vue ├── assets └── css │ └── main.css ├── components ├── BMCButton.vue ├── BankItem.vue ├── Footer.vue ├── Icon │ ├── Coffee.vue │ └── Facebook.vue ├── MoneyInput.vue └── ResultDisplay.vue ├── data └── banks.ts ├── interfaces └── Bank.ts ├── nuxt.config.ts ├── package.json ├── pnpm-lock.yaml ├── public ├── .nojekyll ├── CodeTraveler.png ├── bank │ ├── Alpha-Saving.png │ ├── CIMB-Speed D+.png │ ├── Chill-D.png │ ├── Dime.png │ ├── KKP-Start-Saving.png │ ├── Kept.png │ ├── LH-B-You Wealth.png │ └── TTB-ME-Save.png ├── favicon.ico ├── font │ ├── LINESeedSansTH_W_Bd.woff2 │ ├── LINESeedSansTH_W_He.woff2 │ ├── LINESeedSansTH_W_Rg.woff2 │ ├── LINESeedSansTH_W_Th.woff2 │ └── LINESeedSansTH_W_XBd.woff2 └── other │ └── flowchart.jpg ├── server └── tsconfig.json ├── tailwind.config.js ├── tsconfig.json └── vitest.config.ts /.gitignore: -------------------------------------------------------------------------------- 1 | # Nuxt dev/build outputs 2 | .output 3 | .data 4 | .nuxt 5 | .nitro 6 | .cache 7 | dist 8 | 9 | # Node dependencies 10 | node_modules 11 | 12 | # Logs 13 | logs 14 | *.log 15 | 16 | # Misc 17 | .DS_Store 18 | .fleet 19 | .idea 20 | 21 | # Local env files 22 | .env 23 | .env.* 24 | !.env.example 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SaveSmart 2 | 3 | SaveSmart เป็นเครื่องมือที่ช่วยให้คุณเพิ่มดอกเบี้ยเงินฝากให้สูงสุด โดยการกระจายเงินฝากของคุณไปยังบัญชีธนาคารต่างๆ ตามอัตราดอกเบี้ยและเงื่อนไขของแต่ละบัญชี ที่มาจาก [เนิร์ดไฟแนนซ์](https://www.facebook.com/photo/?fbid=122135196230270713&set=a.122105441570270713). 4 | 5 |
เนิร์ดไฟแนนซ์ x CodeTraveler
6 |ดอกเบี้ยรวมทุกธนาคาร
34 | 38 | {{ ((sumTotalInterest / saving) * 100).toFixed(2) }}% 39 | 40 |43 | 44 | หัก ภาษี 15% (ดอกเบี้ยเกิน ฿20,000) 45 |
46 |ดอกเบี้ยหลังหักภาษี
47 |51 | {{ 52 | Intl.NumberFormat("th-TH", { 53 | style: "currency", 54 | currency: "THB", 55 | }).format(sumTotalInterest) 56 | }} 57 |
58 |62 | {{ 63 | Intl.NumberFormat("th-TH", { 64 | style: "currency", 65 | currency: "THB", 66 | }).format(sumTotalInterest * 0.15) 67 | }} 68 |
69 |73 | {{ 74 | Intl.NumberFormat("th-TH", { 75 | style: "currency", 76 | currency: "THB", 77 | }).format(sumTotalInterest - sumTotalInterest * 0.15) 78 | }} 79 |
80 |13 | {{ summary.name }} 14 |
15 |{{ summary.bank }}
24 |27 | {{ 28 | Intl.NumberFormat("th-TH", { 29 | style: "currency", 30 | currency: "THB", 31 | }).format(summary.saving) 32 | }} 33 |
34 |35 | 36 | 37 | ดอกเบี้ย 38 | {{ 39 | Intl.NumberFormat("th-TH", { 40 | style: "currency", 41 | currency: "THB", 42 | }).format(summary.totalInterest) 43 | }} 44 | 45 |
46 |20 | ฝากสั้น ไม่ถึง 2 ปี 21 |
22 |23 | ฝากยาว มากกว่า 2 ปี 24 |
25 | 31 |