Database Viewer with custom configuration
Build Status | |
---|---|
DbViewer | |
DbViewer.Cql | |
DbViewer.EntityFramework | |
db-viewer-ui | |
Build |
See CHANGELOG.
See ApiController example for backend configuration.
See DbViewerApplication usage example for front configuration.
# 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/net6.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