This PWA is used at the office to badge the start and the end of the working day.
It has been created just to play with some cool technologies:
- Angular
- Angular Material
- Angularfire
- Angular PWA
- Firebase Firestore Database
Realtime Database - Permission API
- NFC Browser API
- Android device remote debugging
npm install
npm run start
npm run start
akang serve
on your local machine:- Connect your smartphone to your local machine through USB
- grant permissions on the smartphone
- Open chrome debug
chrome://inspect/#devices
on your local machine - Click on
Port forwarding...
button and add a new record:- Port:
4200
- IP address and port:
localhost:4200
- Check
Enable port forwarding
and clickDone
- Port:
- Browse
https://localhost:4200
on your smartphone - Select
inspect
under thehttps://localhost:4200
item in the list
- Permissions API
- Remote debug Android devices
- Get angular-cli to ng serve over HTTPS
- How to allow access outside localhost
- NFC examples
- NFC examples (Web.dev)
- Manage badge as a single day (in + out)
- Send notifications to colleagues after badge
- Fix
- login/logout redirect- Every user should manage their badges only PWA: Manage app version with packages.jsonPWA: Check for updates- Router
- User profile page
- Home with 2 buttons (in/out) + NFC capability- Badges list page- Users list page
- User profile page
- Manage users
- CRUD (for the creation the
uid
is needed, anduid
is created after the first login) - Authorization (simple or admin)
- CRUD (for the creation the
- Use Google Spreadsheet to store just badges data in order to do some analysis
- ...more