DataFlow is the web database workspace in this repository. It runs on top of the Go backend in core/ and is positioned as a Sealos-native database GUI plus a lightweight BI panel.
In the current version, the product is centered on three primary jobs:
- Browse and maintain database objects and records
- Write SQL, MongoDB, or Redis queries and commands
- Turn query results into charts and reusable dashboards
| Relational | Document / Key-Value | Analytics |
|---|---|---|
| PostgreSQL | MongoDB | ClickHouse |
| MySQL | Redis |
- Browse databases, schemas, tables, collections, and keys
- View, edit, insert, delete, and export data
- Run SQL, Mongo shell-style, and Redis commands in editors
- Build charts and dashboard widgets from query results
- Work across PostgreSQL, MySQL, MongoDB, Redis, and ClickHouse in one workspace
- Go 1.21+
- Node.js 22+
- pnpm 10+
# Install frontend dependencies
cd dataflow
pnpm install
# Terminal 1: backend
cd ../core
go run .
# Terminal 2: frontend
cd ../dataflow
pnpm devThe frontend dev server runs at http://localhost:5173 and proxies API requests to the backend.
cd dataflow
pnpm run typecheck
pnpm run build
pnpm run testTo build a production binary that embeds the frontend assets:
cd dataflow
pnpm install
pnpm run build
cd ..
rm -rf core/build
cp -R dataflow/build core/build
cd core
go build -tags prod -o dataflow-server .docker build -f core/Dockerfile -t dataflow-local .
docker run --rm -p 8080:8080 dataflow-localOpen http://localhost:8080 after the container starts.
Sealos packaging files live under deploy/.
- PR workflow:
/.github/workflows/pr-docker-build.yml - Release workflow:
/.github/workflows/release.yaml - Packaging details:
deploy/README.md - User override template:
deploy/charts/dataflow/dataflow-values.yaml
core/ # Go backend
server.go # Entry point
src/plugins/ # Database connectors
graph/ # GraphQL schema and resolvers
Dockerfile # Production image build
dataflow/ # React 19 + TypeScript frontend
src/main.tsx # Entry point
src/stores/ # Zustand stores
src/components/ # Database, editor, analysis, and layout UI
deploy/ # Sealos cluster image packaging
dev/ # Local database fixtures and helper scripts
docs/ # Product and engineering docs
- Backend: Go, GraphQL (gqlgen), Chi, GORM
- Frontend: React 19, TypeScript, Zustand, Apollo Client, Vite, Tailwind CSS 4, Monaco Editor, ECharts, react-grid-layout
Apache 2.0. See LICENSE.