This is an example project showing off Chrome's new NFC capabilities.
NFC only works on Chrome 89 and above on Android phones with NFC. The code detects whether the browser supports NFC, but not if your phone has NFC capabilities.
I tested this code with NTAG215 cards but any standard card that supported NDEF should work.
Additional reading of the WebNFC standard can be found here.
Because the code only works on phones, follow these steps to get set up with remote debugging on Android.
Install Dependencies
yarn
Run Local Server
yarn dev
Then connect to the server IP on your phone. HTTPS must be enabled for NFC to work.