Streamlined Data Access Layer for Data Platforms

LakeQL

Build predictable, secure GraphQL APIs on top of Trino metadata with LakeQL's type-safe runtime and schema generation CLI.

Getting started

Up and running in four steps.

1

Create your project

Run the following command to scaffold a new LakeQL project.

npx @lakeql/create-app@latest my-lakeql-project
2

Configure your project

Open lakeql.config.ts and set your Trino connection details, catalogs, and schemas.

// lakeql.config.ts
export default defineConfig({
  connection: { host: 'localhost', port: 8080 },
  catalogs: ['my_catalog'],
})
3

Pull your schemas

Run the pull command to introspect Trino metadata and generate your type-safe GraphQL schema.

npm run cli pull
4

Start the server

Launch the LakeQL server and open the GraphQL playground.

npm run dev

Ready to dive deeper?

Explore the full documentation to learn about schema generation and more.

Read the docs

Powerful features

Everything you need to build predictable, type-safe data APIs with LakeQL.

Intuitive CLI & API
Get started in minutes with a modern CLI and a flexible API that fit naturally into existing backend and platform workflows.
Flexible filtering
Apply expressive filters to handle complex query conditions across fields, helping teams narrow large datasets with confidence.
Open source & transparent
Built as open source with a transparent architecture and reusable packages across API, CLI, and tooling for long-term maintainability.
Support for complex data types
Query and process nested and structured data types without flattening everything first, while keeping your schema predictable.
GraphQL interface for flexible queries
Expose a modern GraphQL interface so consumers can request exactly the data they need through clear, flexible query patterns.
Automatic/dynamic GraphQL schema generation
Generate GraphQL schemas from your data sources through the CLI to reduce manual boilerplate and keep your API aligned with metadata changes.

Standing on the shoulders of giants

Built with the power of open source.

…and many more amazing open source projects that make LakeQL possible. View all direct dependencies

Free & open source

LakeQL is completely free and open source. Built by developers, for developers. No hidden costs, no vendor lock-in, no limitations. Use it in your personal projects, startups, or enterprise applications.

Apache 2.0 License·Community Driven·No Vendor Lock-in