Skip to content
forked from sqlpad/sqlpad

Web-based SQL editor run in your own private cloud. Supports MySQL, Postgres, SQL Server, Vertica, Crate, and Presto.

License

Notifications You must be signed in to change notification settings

amilajack/sqlpad

 
 

Repository files navigation

SQLPad

A web app for writing and running SQL queries and visualizing the results. Supports Postgres, MySQL, SQL Server, Crate, Vertica, and Presto. Written in Node.js.

SQLPad Query List SQLPad Query Editor SQLPad Chart Editor

Installation and Usage

Visit project page at http://rickbergfalk.github.io/sqlpad/.

Development

Using docker

# To build initial image (and force rebuild)
docker-compose build --no-cache web
docker-compose create --force-recreate web
# Start sqlpad in dev mode and bring dockerized db's up
docker-compose up
# To bring down
docker-compose down
# To remove dangling containers volumes etc
docker system prune

Locally

  • Clone/download repo
  • Install node 6 or later
  • Install npm5
  • run npm start from command line

Once Running At this point you should have both backend and front-end development servers running.

http://localhost:3000 serves react front-end in dev-mode http://localhost:3010 serves front-end compiled for production

Both front-end/back-end should auto-refresh/auto-reload on file change.

To build front-end production files run npm run build.

See wiki for additional development details and project information.

Tips

If you have highlighted just part of your query, only that part will be executed when you click Run Query.

License

MIT

About

Web-based SQL editor run in your own private cloud. Supports MySQL, Postgres, SQL Server, Vertica, Crate, and Presto.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 88.1%
  • CSS 11.4%
  • Other 0.5%