Hosting a Google Meet tonight at 10pm to discuss how I use anti-gravity and vibe coding
Join the Telegram community for the meeting link so you don't miss out. The session is 1 hour. if you know you missed the last one donโt miss this
See you soon
https://t.co/X4jU1iJQVs
Completed the full payment system for my Restaurant Management System backend in Golang .
๐๐ป๐ถ๐๐ถ๐ฎ๐น๐ถ๐๐ฎ๐๐ถ๐ผ๐ป:
โ order created by the user
โ payment record generated with idempotency key
โ Paystack called outside the DB transaction (never hold DB connections open during external API calls)
โ payment status โ pending
โ authorization URL returned to customer
๐ช๐ฒ๐ฏ๐ต๐ผ๐ผ๐ธ ๐๐ฎ๐ป๐ฑ๐น๐ฒ๐ฟ:
โ HMAC-SHA512 signature verification (only Paystack can call this)
โ idempotency check โ already paid? return 200 immediately
โ Redis SETNX distributed lock โ prevents two webhook deliveries processing simultaneously
โ amount verification โ prevents partial payment attacks (โฆ100 for a โฆ5000 order)
โ atomic DB transaction: payment โ paid, order โ confirmed, outbox event โ written
๐ข๐๐๐ฏ๐ผ๐ ๐ฃ๐ฎ๐๐๐ฒ๐ฟ๐ป:
โ receipt email event written to DB inside the same transaction
โ if Redis is down โ outbox worker retries โ customer always gets their receipt โ no event lost
๐ฅ๐ฒ๐ณ๐๐ป๐ฑ๐:
โ dedicated refunds table with own idempotency key โ check existing refund before calling Paystack (no double refunds)
โ atomic: refund record + order status in one transaction
Stack: Go, PostgreSQL, Redis (Upstash), Paystack
Building in public. Daily updates.
GitHub โ https://t.co/aY2N7Rc2dW
Finally day 17
Iโm done with backend programming โก๏ธ
Learnt alot about node, express, axios, postman, postgres, passport, ejs, env and the likes
What i did today was the complete authentication process each user get identified and their website data will be sent back to them ๐ฅธ
Remember when Hantavirus randomly became a multi million dollar narrative?
Now weโve got a flesh eating fly with a potential $1.8B economic impact making rounds across the news.
Sounds ridiculous.
Which is exactly why CT might love it.
$Screwworm