Code Monkey home page Code Monkey logo

db-schema-web-view's Introduction

db-schema-web-view

Provides web view over database schema, displays:

  • tables
  • columns
  • primary keys
  • foreign keys with relations to the tables
  • unique constraints (hover over table name to display more information to the table)

Tables are distributes using d3-force simulation in a way that related tables are attracted together. Database connections are loaded from connections.yaml.

Supported databases

  • Postgresql

img.png

Development

Update connections.yaml to point to a local database.

Start go backend

go mod download
go build .

Start web application

cd _webapp
npm install
npm run serve

Docker

To build a docker image first update your connections.yaml file and _webapp/.env.production url to point to a domain/IP where container will be running. Run build.sh script to build frontend and backend applications.

Build docker image

docker build . -t db-schema-web-view:latest

Run docker image

docker run --publish 9090:9090 db-schema-web-view:latest

Go to http://localhost:9090 and you should see the application.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.