Skip to content

dd-bim/datacat-editor

Repository files navigation

datacat Editor

This application is a simple client implementation compatible with the datacat API. It offers an opinionated view to manage a data catalog structured after ISO 12006-3.

This project was bootstrapped with Vite.

Available Scripts

In the project directory, you can run:

npm run dev

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 run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about Building for Production for more information.
You may also want to see some Build options.

Learn More

You can learn more in the Vite documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://vite.dev/guide/features.html

Deployment

This section has moved here: https://vite.dev/guide/static-deploy.html

npm run build fails to minify

You may want to use some of these options: vite build --minify [minifier] Enable/disable minification, or specify minifier to use (default: "esbuild") (boolean | "terser" | "esbuild").

Docker image

This application is published as a self-contained Docker image with all npm packages needed pre-installed. The entrypoint of the container is the npm start script, which means a development server is executed by default. It should only be used for development and local testing.

A static application bundle (see npm run build) for production use can be generated from this image by using it as a builder image. See the datacat-stack project for an example.

Configuration

The application is self-contained and will interact with the datacat API at the local path /graphql by default. If you host your catalog at another location, you'll need to override the system variable REACT_APP_API.

For example, to run this application locally connecting to the datacat API on port 8080:

$ REACT_APP_API=http://localhost:8080/graphql npm start 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages