mazentouati/snacks-console

Snacks console is an intuitive browser-based SQL console to run and save SQL queries.

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 2

Open Issues: 0

Language:JavaScript

Type:project

0.1.0 2018-11-16 23:35 UTC

This package is auto-updated.

Last update: 2024-03-28 11:16:42 UTC


README

GitHub (pre-)release Scrutinizer Code Quality StyleCI Software License

An intuitive browser-based SQL console to run and save SQL queries.

demo

Usage guideline

Snacks@console is a PHP based application. Before you use it, you have to make sure that your system is ready to run PHP applications. All web server such as Laragon (recommended) or XAMPP provide bundle all the requirement to run a PHP based application in one package.

After you setup your webserver. Open the command line inside the web server's root directory, usally www, and follow along the installation process

through composer

we recommend installing this package through composer :

composer create-project mazentouati/snacks-console "console"

Note: make sure that your web server enables the RewriteEngine.

Plans

This is an initial version, it's just a prototype to test and enhance the current experience. We plan to add the following features :

Enhance queries support

currently the console supports the following commands:

  • Select
  • Update
  • Delete
  • Insert
  • Use database

Theoretically, it can execute any SQL command but we plan to make the experience of DDL ( data definition language ) like Create or Alter more accessible by supporting interactive inserting in the console.

Add syntax highlight

Additionally, we plan to add syntax highlight for the SQL commands

Enhance the manipulation of the fetched data

currently, the data shown when using select command isn't interactive. We plan to make the table resizable, the cells clickable ( shows full column's data when click ) and whatever required to make it interactive.

Documentation

Unfortunately, I'm overwhelmed by Snacks project and it's sub-projects. I'll incrementally add the documentation, tests for both the source code and the application.

very SOON...

Contributing

Please check the guide

If you like to contribute by writing the JavaScript tests, It would be great !

LICENSE

© MIT | 2018, mazentouati/snacks-console