Quickstart Web

The first step to using the web application for deploying our Shopping List Uni is to log in to the Vendia Share. If you don't yet have a user account for Vendia Share you will first need to sign up. If you have an account but have forgotten your username and password you can reset your password.

Once you're logged in, you can click on the button to Create a Uni.

Create a Uni button

Define Your Uni

Here's where we can use the Uni Schema and Node Config we defined earlier. Remember to make the adjustments to the Node Config to match your userId.

NOTE You will need to provide your Vendia Share userId when defining your nodes. For the quick start, please use your same userId across all nodes.

ANOTHER NOTE Pick a unique name for your Uni - by default all Unis share a common namespace so here is your chance to get creative.

Click to view Shopping List Schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "http://vendia.net/schemas/demos/shopping-list.json",
  "title": "Shopping List",
  "description": "Store shopping list data",
  "type": "object",
  "properties": {
    "ShoppingList": {
      "description": "Items on the shopping list",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "item": {
            "description": "What to buy",
            "type": "string"
          },
          "quantity": {
            "description": "How much to buy",
            "type": "string"
          },
          "recommendedLocation": {
            "description": "Where I should buy",
            "type": "string"
          },
          "bought": {
            "description": "Whether it has been bought",
            "type": "boolean"
          },
          "timestampAdded": {
            "description": "When the item was added",
            "type": "string",
            "format": "date-time"
          },
          "timestampPurchased": {
            "description": "When the item was purchased",
            "type": "string",
            "format": "date-time"
          }
        },
        "required": ["item"]
      }
    }
  }
}
Click to view sample Shopping List Node configuration
[{
    "name": "ParentalUnit1",
    "userId": "me@vendia.net",
    "region": "us-west-2"
  },
  {
    "name": "ParentalUnit2",
    "userId": "me@vendia.net",
    "region": "us-west-2"
  },
  {
    "name": "ChildUnit1",
    "userId": "me@vendia.net",
    "region": "us-west-2"
  },
  {
    "name": "ChildUnit2",
    "userId": "me@vendia.net",
    "region": "us-west-2"
  }
]
Click to view sample Shopping List Initial State configuration
{
  "ShoppingList": [
    {
      "item": "Bread",
      "quantity": "1 loaf",
      "recommendedLocation": "Best Bakery",
      "bought": false,
      "timestampAdded": "2020-12-05T18:43:54Z"
    },
    {
      "item": "Cheese",
      "quantity": "2 lb",
      "recommendedLocation": "Cheesy Charlies",
      "bought": false,
      "timestampAdded": "2020-12-05T14:23:32Z"
    }
  ]
}
Configure your Uni

Once your Uni is defined and deployed, Vendia Share will take care of creating the necessary resources your Uni needs. The deployment will take approximately 4 minutes.

Status of newly registered Uni

You may need to refresh the page to determine when your Uni is running. Once the Uni is running we will query and update our Shopping List Uni.

Uni in running state