Skip to content

Latest commit

 

History

History

demo-inventory-tracker-webapp

JS SDK Example: Computer Inventory Tracker

Prerequisites

Deploy the Web App

  1. Create a 1Password Service Account. Make sure to save the service account token in your 1Password account.
  2. Add the UUID of a vault the service account has read and write permissions in to the .env file. This is where 1Password items managed by the app will be stored.
  3. Add the secret reference to the .env.template file and remove the .template suffix.
  4. Add the UUID of a vault the Service Account has read and write permissions in to the .env file. This is where 1Password items managed by the app will be stored.
  5. Build the image and deploy the container:
op run --env-file=.env -- docker compose up --build
  1. Visit the webapp in your browser on port 3000 (for example, localhost:3000)