The Autoura.me service holds consumer hospitality & travel preferences.
You can use DIDs to:
- Request these consumers preferences
- Request consumers current location
- Send and receive DIDComm messages
This example code uses TBD DIDs.
If you are not quite sure what a DID is and how you can use them, or what this demo is demonstrating, read the Autoura introduction
Once you have this running (locally)
- On the first screen, tap button to create DID. This creates a TBD DID. Store this (and the public/private keys) when building your own services
- Go to any of the services in the top menu
- If you have selected preferences, tap the button to call preferences service. 1 second later the preferences will appear on the screen
You can update this code with any Autoura.me DID and will work. See note and configuration in did.js
Further instructions on how to get started with TBD & Autoura are on the Autoura get started page.
npm install
There is no Autoura or TBD install or registration required. Just works "out of the box".
npm run serve
This all works on localhost, no need to build and publish.
npm run build
We just said no need to build and publish, but hey if you want you can :)