@skbkontur/db-viewer-ui

Database Viewer with custom configuration

Usage no npm install needed!

<script type="module">
  import skbkonturDbViewerUi from 'https://cdn.skypack.dev/@skbkontur/db-viewer-ui';
</script>

README

db-viewer

Database Viewer with custom configuration

Build Status
DbViewer NuGet Status
DbViewer.Cql NuGet Status
DbViewer.EntityFramework NuGet Status
db-viewer-ui npm
Build Build status

Release Notes

See CHANGELOG.

How to Use

See ApiController example for backend configuration.

See DbViewerApplication usage example for front configuration.

How to Start

# needed for browser tests
docker pull selenoid/vnc:chrome_84.0

# start databases
docker-compose up -d

# build backend
dotnet tool restore
dotnet build --configuration Release ./DbViewer.sln

# build front
yarn install
yarn build:types

# apply db migration
dotnet ef database update --project ./DbViewer.TestApi/DbViewer.TestApi.csproj --no-build --configuration Release

# start db-viewer
./DbViewer.TestApi/bin/net5.0/SkbKontur.DbViewer.TestApi.exe
yarn start:prod

# start tests
dotnet test --no-build --configuration Release ./DbViewer.Tests/DbViewer.Tests.csproj

# run code cleanup
dotnet jb cleanupcode DbViewer.sln --profile=CatalogueCleanup --exclude=./DbViewer.TestApi/Migrations/*.cs --verbosity=WARN
yarn lint