A simple web application that allows people to interact with ClickHouse by running arbitrary SQL queries on arbitrary ClickHouse version.
Available at fiddle.clickhouse.com.
The back-end engine lives alongside this application in the repository root.
From the repository root:
cd uiInstall dependencies and start the development server:
npm install
npm startBuild a Docker image:
# Address of the backend API
export API_URL='https://fiddle.clickhouse.com/api/'
docker build --build-arg API_URL="$API_URL" -t clickhouse/clickhouse-fiddle-ui ./uiRun a container based on the built image:
docker run -d -p 9090:80 clickhouse/clickhouse-fiddle-uiNow the webapp is available on localhost:9090.