Skip to content

Backend-free digital membership cards with two apps: an Issuer to generate cryptographically signed PNG cards with QR codes, and a Verifier to validate them in-browser by scanning the QR (no server or database required).

License

Notifications You must be signed in to change notification settings

hhkaos/digital-membership-card-system

AMPA Digital Membership Card System

CI Pages License: MIT

React Vite Node.js Vitest

A cryptographically secure digital membership card platform.

digital-membership-card-system composition

Try the Live Apps

Issuer link is useful for evaluation only. For real use, run issuer locally and never expose production private keys in a public environment.

What This Repo Contains

  • Issuer app (issuer/): admin tool to create signed membership cards (PNG + QR)
  • Issuer desktop scaffold (issuer/src-tauri/): optional installer packaging path for Windows/macOS/Linux
  • Verification app (verification/): public app for merchants to validate cards
  • Shared project docs (docs/): technical spec, roadmap, and implementation notes

Cards are signed with EdDSA (Ed25519). Verification is performed client-side using the public key.

Quick Start

Prerequisites

  • Node.js >=20

Install and test

npm install
cd verification && npm install && cd ..
cd issuer && npm install && cd ..
npm test

Run locally

# Terminal 1
cd verification && npm run dev

# Terminal 2
cd issuer && npm run dev
  • Verification local URL: http://localhost:5173
  • Issuer local URL: http://localhost:5174

For full end-to-end setup (key generation, config wiring, card generation, verification flow), see docs/LOCAL_SETUP.md.

Documentation Map

Security

  • Never commit private keys.
  • Issuer is intended for local/admin use.
  • Verification distributes only a public key.

See full details in SECURITY.md.

License

MIT. See LICENSE.

About

Backend-free digital membership cards with two apps: an Issuer to generate cryptographically signed PNG cards with QR codes, and a Verifier to validate them in-browser by scanning the QR (no server or database required).

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 5