Pocketz
What is Pocketz? (About the project)
Pocketz is a simple card manager that turns your physical cards into digital ones. It also supports Apple Wallet, allowing you to keep all your cards in one place. Additionally, it includes a sharing feature, so you can digitally share your physical cards with family and friends.
A new feature I added is support for QR codes and GS1-based cards. Pocketz currently supports 5 languages..
Demo
Special Features
- Apple Wallet support
- Barcode Scanner as easier adding method
- Multi-language support
- Card sharing functionality
- Support for multiple card types (Barcode, QR Code, GS1)
Changes since 1. Siege submission:
Since I already submitted this project to Siege once, here are the changes I made during this week (week 12):
- Added share feature: You can share your cards with other people via a QR code and/or a link
- Multilang support: Added support for 5 languages (translations themselves were mostly by AI to be fair)
- Added delete card feature
- Added edit card feature
- Many minor improvements, such as padding tweaks, general code optimizations, UI bugs, etc
- You can find everything in siege-week-11 branch (the name is wrong it should have been week 12)
Recommended IDE Setup
VS Code + Vue (Official) (and disable Vetur).
Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
Type Support for .vue Imports in TS
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.
Customize configuration
See Vite Configuration Reference.
Project Setup
Install all dependencies defined in package.json:
npm installCompile and Hot-Reload for Development
Start the development server with hot module replacement for rapid iteration:
npm run devType-Check, Compile and Minify for Production
Build an optimized production bundle:
npm run buildSynchronize the web build with Capacitor native platforms:
npx cap syncOpen the iOS project in Xcode:
npx cap open ios