To start working with Query you need to take the following steps:
There are 4 files to include:
Files to work with Query
<!-- js files -->
<script src="codebase/webix.js" type="text/javascript"></script>
<script type="text/javascript" src="codebase/query.js"></script>
<!-- css files -->
<link rel="stylesheet" href="codebase/webix.css" type="text/css">
<link rel="stylesheet" type="text/css" href="codebase/query.css" />
See the next chapter to learn how to create Query on a page.
We provide backend code for Query with SQL generation inside.
To get the NodeJS backend for Query clone the repo, configure DB connection and provided DB dump (dump.sql). After that run the code as:
npm install
node index.js
To get the Golang backend for Query, clone the repo, configure DB connection and provided DB dump (dump.sql). After that run the code as:
go build
./query
To run package samples on a local machine you should navigate to the Query root folder, install the necessary dependencies and start a development server as:
// navigate to the root folder
cd query
// install dependencies
yarn install //or npm install
// start dev server
yarn server //or npm run server
Back to top