ข้ามไปที่เนื้อหา

นับการเปิดหน้าและการคลิกโปรเจกต์ด้วย PostHog (เซิร์ฟเวอร์ EU) ไหม โหลดเมื่อคุณกดอนุญาตเท่านั้น ความเป็นส่วนตัว

Donation / Tip Jar live preview
โปรเจกต์ทั้งหมด

Donation / Tip Jar

Prototype a tip-jar flow for free tools before connecting a payment provider.

Free tools in the portfolio had no way to accept voluntary support, and setting up payment links per project wasn't practical at scale.

Tech Domain · Book Dev|เผยแพร่แล้ว|หลักฐาน: ต้นแบบ|Next.js, TypeScript

มีต้นแบบสาธารณะเพื่อแสดง interaction โดยจำกัดขอบเขตและข้อมูลไว้อย่างชัดเจน

กรณีศึกษา

ก่อนใช้งาน

Free tools in the portfolio had no simple way to receive voluntary contributions.

หลังใช้งาน

Tip jar on the App shell: a working demo of the tip flow and ledger. No real money moves, and it has not been measured with real users.

วิธีแก้ปัญหา

Built a single-page tip register with preset THB amounts (50, 100, 200, 500), a custom amount, a note, a running total and a ledger newest first; removing a tip or clearing the ledger can be undone for a few seconds. Entries are saved in localStorage; no payment provider is connected.

สิ่งที่ยังไม่แก้

No payments or public wall; tips are local records in one browser.

บทความที่เกี่ยวข้อง

อ่านเพิ่มเติมในหัวข้อที่เกี่ยวข้องจากบล็อก

โปรเจกต์ที่เกี่ยวข้อง

เพิ่มเติมใน Tech Domain · Book Dev