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

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

Giveaways live preview
โปรเจกต์ทั้งหมด

Giveaways

Keep each giveaway and its status in one searchable list.

Small giveaways run from scattered notes leave no clear record of what is open, drafted or closed.

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

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

กรณีศึกษา

ก่อนใช้งาน

Running small promotional giveaways needed a clear record of each one before any fair-draw tooling.

หลังใช้งาน

Giveaway list on the App shell: status lists with counts, search and undoable removal for keeping a giveaway list in this browser. It does not collect entries from others or pick winners.

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

Built a register: add a giveaway with a prize and how-to-enter text, set it to Open, Draft or Closed, filter by status, search, and remove with Undo. It starts with one sample entry; entries are validated and saved in localStorage, with unit tests for the entry logic.

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

No winner draw, entry collection, referral entries or public results page, and the list lives in one browser.

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

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

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

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