https://github.com/salman-aziz-4425/apple-wallet-passes-nodejs
https://github.com/salman-aziz-4425/apple-wallet-passes-nodejs
apple-watch expressjs firebase nodejs password-generator
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/salman-aziz-4425/apple-wallet-passes-nodejs
- Owner: salman-aziz-4425
- Created: 2023-10-03T19:56:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-03T22:31:58.000Z (almost 2 years ago)
- Last Synced: 2025-02-10T02:41:18.035Z (8 months ago)
- Topics: apple-watch, expressjs, firebase, nodejs, password-generator
- Language: JavaScript
- Homepage:
- Size: 10.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apple Wallet Passes Generation using Node.js
This project demonstrates how to generate Apple Wallet passes using Node.js. It leverages several libraries, including `passkit-generator`, `Express.js`, and Firebase.
## Libraries Used
- [passkit-generator](https://github.com/alexandercerutti/passkit-generator): A Node.js library for generating Apple Wallet passes.
- [Express.js](https://expressjs.com/): A web application framework for Node.js.
- [Firebase](https://firebase.google.com/): A comprehensive mobile and web app development platform.## Demo
Here's a simple example of how to generate an Apple Wallet pass using this project:
## Getting Started
1. **Install Dependencies**: Before running the project, install the required dependencies using npm:
```bash
npm install## Sample Input:
```bash
{
{
"userId":"1",
"qrText":"Eqan my friend",
"thumbnail":"https://images2.alphacoders.com/132/1323416.jpeg",
"icon":" https://static.vecteezy.com/system/resources/thumbnails/024/553/676/small/skull-wearing-crown-logo-skull-king-sticker-pastel-cute-colors-generative-ai-png.png",
"primary":{
"value":"Salman Aziz",
"label":"MEMBER NAME"
},
"secondary":[
{
"value":"12345",
"label":"Loyalty Points"
},
{
"value":"2",
"label":"No of views"
}
],
"auxiliary":[
{
"value":"Silver",
"label":"TIER"
},
{
"value":"21313123",
"label":"MEMBER NUMBER"
}
],
"foregroundColor" : "FFFFFF",
"backgroundColor" : "333333",
"backField":[
{
"label": "More info",
"value": "This pass is for demo purposes only. Brought to you by Dot Origin and the VTAP100 mobile NFC pass reader. For more details visit vtap100.com"
}
]
}
}