Demo project to showcase TileDB queries from the browser with the power of @tiledb-inc/tiledb-cloud.
Run npm install
to install the dependencies needed for this demo. To install @tiledb-inc/tiledb-cloud in another project, run:
npm i @tiledb-inc/tiledb-cloud@beta
Create a .env
file in the root folder, specifying your TileDB apiKey:
REACT_APP_API_KEY_PROD=MY_TILEDB_API_KEY
User can create an array and view it as an interactive 2-dimensional cube. By clicking a cell, user can edit the attributes and see it reflected in the cube.
The namespace/name of the array should be set in the .env
file
REACT_APP_QUICKSTART_ARRAY=my_namespace/my_array
Limitations: Right now the visualization is limited to work only with 4*4 arrays it is adviced to use either quickstart_dense or quickstart_sparse example arrays.
Start the demo with:
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.