https://github.com/noxify/lakeql
https://github.com/noxify/lakeql
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/noxify/lakeql
- Owner: noxify
- License: apache-2.0
- Created: 2026-03-26T13:36:54.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-06-11T14:12:48.000Z (6 days ago)
- Last Synced: 2026-06-11T14:12:50.451Z (6 days ago)
- Language: TypeScript
- Homepage: https://lakeql.dev
- Size: 3.89 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
LakeQL
Streamlined Data Access Layer for Data Platforms
LakeQL is a monorepo that provides a type-safe GraphQL access layer for Trino-powered data platforms.
It combines a backend runtime with a CLI that generates schema and query files from your existing data model.
The goal is to reduce manual boilerplate while keeping your API predictable, secure, and easy to extend.
## Features
- Type-safe GraphQL APIs for Trino-powered data platforms
- CLI-based schema generation from existing Trino metadata and table structures
- Built-in filtering, sorting, and pagination for generated queries
- Extensible response transformation with reusable helper packages
- Trino authentication with Basic Auth and OAuth flows
- Monorepo setup with reusable packages and a ready-to-use app template
## Requirements
- Node.js 24
- pnpm 11+
## Getting started
### Init project & setup
Run the following command in your terminal:
```bash
pnpm dlx @lakeql/create-app
```
Then follow the interactive setup.
The command bootstraps a project from the preconfigured template in [templates/app](./templates/app/).
### Schema generation
Run the interactive CLI to generate your schemas.
```bash
pnpm cli pull --target ./src
```
### Local development
To start local development, run:
```bash
pnpm dev
```
### Build & Production
The template ships with a production-ready `tsdown` setup.
Use `pnpm build` to generate the production `dist` output, which you can then use in your deployment setup (for example, in a Dockerfile).
## Learn more
Full docs and examples are available at https://lakeql.dev
## Project background
This project has its roots in the original [datalake-graphql-wrapper](https://github.com/dbsystel/datalake-graphql-wrapper).
LakeQL was later rebuilt from the ground up as a fully type-safe monorepo, with a complete refactoring of the codebase and architecture.
## Special thanks
- [Igal Klebanov](https://github.com/igalklebanov) and the [Kysely Team](https://github.com/kysely-org/kysely) - Kysely is used to generate valid SQL statements from GraphQL queries, and Igal helped make the query builder more generic.
- [Michael Hayes](https://github.com/hayes/pothos) - He created Pothos GraphQL, which is the foundation of our GraphQL server and its code-first schema generation approach.