Welcome to the Digital Membership Card Wallet Service documentation. This service enables organizations to create, distribute, and manage digital membership passes for both Apple Wallet and Google Wallet.
The Wallet Service is a Fastify-based REST API that integrates with:
| Section | Description |
|---|---|
| Getting Started | Quick setup instructions |
| API Reference | REST API endpoints and usage |
| Configuration | Environment variables and settings |
| Security | Security hardening and best practices |
| Architecture | System design and components |
| Development | Development workflow and guidelines |
| Testing | Testing strategies and commands |
Before you begin, ensure you have:
Clone and install dependencies:
npm install
Configure environment:
cp example.env .env
# Edit .env with your credentials
Start development server:
npm run dev
Access the service:
http://localhost:3000http://localhost:3000/docswallet-service/
├── src/
│ ├── index.ts # Application entry point
│ ├── server.ts # Server bootstrap
│ └── app/
│ ├── app.ts # Fastify application setup
│ ├── app.environment.ts # Environment configuration
│ └── views/ # Template files
│ └── lib/
│ ├── controllers/ # API route handlers
│ │ ├── apple.controller.ts # Apple Wallet endpoints
│ │ ├── google.controller.ts # Google Wallet endpoints
│ │ └── passes.controller.ts # Pass management endpoints
│ ├── services/ # Business logic
│ │ ├── apple-passkit.service.ts
│ │ ├── google-wallet.service.ts
│ │ └── digital-membership.service.ts
│ ├── modules/ # Utility modules
│ ├── jobs/ # Background tasks
│ └── util/ # Helper functions
├── docs/ # Documentation (you are here)
├── test/ # E2E tests
└── build/ # Compiled output
.pkpass files for iOS devicesFor issues and questions:
Version: 0.1.0 | Last Updated: February 2026