/schema-viewer

React component for visualizing the SDLB config schema

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Overview

This is a React component for visualizing the Smart Data Lake Builder config schema. It retrieves the SDLB JSON schemas and renders them as dynamic trees using the d3 library.

Getting Started

For building and testing the component, Node.js (Version 16 or 18) and npm are required.

Install

The required npm packages can be installed by executing

npm install

in the project directory.

Available Scripts

In the project directory, you can run:

  • npm start
    Runs the app in the development mode.
    Open http://localhost:3000 to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.

  • npm test
    Launches the test runner in the interactive watch mode.
    See the section about running tests for more information.

  • npm run build
    Compiles the components into the dist folder to be used by other React projects.