0bf9843c1f
First rule of networking is the network is unreliable. Sometimes things get lost, sometimes it gets found multiple times for TCP reasons or because a browser tries to be clever. And when you're dealing with money, even if it's monopoly money, you don't want a duplicated request to mean a double-debit. The easiest way to do this is to simply include an idempotency key with each request - if that key is repeated, the request is ignored. |
||
---|---|---|
AfRApay.FTM | ||
AfRApay.MateCard | ||
AfRApay.Web | ||
hooks | ||
logos | ||
.envrc | ||
.gitignore | ||
AfRApay.sln | ||
README.md | ||
shell.nix |
AfRApay
Digital drinks balance tracking system for the AfRA hackerspace.
AfRApay.Web
Frontend, accessible in the AfRA LAN and on the MatePad in the kitchen. Also provides an API for the MateCard terminal.
AfRApay.MateCard
MateCard terminal that allows for quick and easy balance adjustment with a contactless card (Mifare Classic & 125khz RFID/NFC tokens)
AfRApay.FTM
The Fancy Test Machine. Run a card terminal on your laptop for testing, using (in theory) any PCSC-compliant contactless reader.