Skip to content

TileDB-Inc/TileDB-Cloud-JS-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TileDB-Cloud-JS Demo

Demo project to showcase TileDB queries from the browser with the power of @tiledb-inc/tiledb-cloud.

Installation

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

Setup

Create a .env file in the root folder, specifying your TileDB apiKey:

REACT_APP_API_KEY_PROD=MY_TILEDB_API_KEY

Working with the "Interactive write" example

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.

Running the demo

Start the demo with:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published