A tool to work with databases, currently only PostgreSQL supported and currently no plans to support other dbs
data-loader
: module to load data from db, used byserver
andelectron-app
electron-app
: desktop app!frontend
: React module, used byelectron-app
andweb-graphql-frontend
server
: node.js server to serve graphql datatypes
: types are shared across other modulesweb-graphql-frontend
: React frontend for browser, includes code for loading data from server
Before begin, install Postgres
Here is a link to a sample database with instructions
To launch in browser:
cd web-graphql-frontend
yarn
yarn start
# in second terminal
cd server
yarn
yarn start
Try to find a +
sign in the left sidebar, it will open a dialog to connect to database, write database credentials and hit connect.
After dialog will close - reload the page, need to fix it, after reloading you should see a tree in sidebar
To launch in electron app:
cd electron-app
yarn
yarn start
And the same as above about +
sign.