Welcome to SynthQL
A full stack, type-safe client to your PostgreSQL database with a focus on DX and performance.
SynthQL lets you query your database directly from the browser, helping you create large object graphs without the need for implementing custom endpoints.
SynthQL is written in TypeScript, and runs on the browser and Node.js.
Features
Full-stack
SynthQL queries can be written both on the client and server.
Plain-data queries
SynthQL queries are plain data. They can thus be serialized, deserialized, and transformed by regular function.
Composable queries
SynthQL's query language is composable, allowing you to build complex queries from simple ones.
Security
SynthQL provides mechanisms for whitelisting queries, restricting access to columns and restricting access to rows.
Read moreCustom query executors
Queries are compiled by default to a single SQL query, query executors let you resolve queries from HTTP endpoints, files, e.t.c.
Read moreType-generation
SynthQL can automatically generate TypeScript types from your database schema.
Read more