Skip to content

Interactive Playground

Try FraiseQL against a live PostgreSQL database. No installation. No account. No sign-up.

The demo runs a seeded blog API — users, posts, comments, and tags — the same schema used throughout the docs. Every query executes against a real FraiseQL server backed by real PostgreSQL.

FraiseQL Demo API

Query users, posts, comments, and tags. Try filters, nested relationships, and pagination.

Loading Apollo Sandbox...

This sandbox uses Apollo Sandbox (the same GraphQL IDE as fraiseql serve). Your queries execute against the endpoint below. No data is sent to Apollo. Learn more about privacy →

Copy any of these into the playground above.

List users with their posts:

query {
users {
id
name
email
role
posts {
title
published
}
}
}

Filter posts by author:

query {
posts(where: { author: { email: { _eq: "alice@example.com" } } }) {
id
title
content
tags {
name
}
}
}

Paginated posts with total count:

query {
posts(limit: 3, offset: 0) {
id
title
author {
name
}
}
}

Tags with post counts:

query {
tags {
id
name
slug
}
}

The demo API is read-only — mutations are disabled to keep the data consistent for everyone. The schema and seed data match the SaaS Blog example in the docs, so examples from the guides work directly here.

To run this exact API locally:

Terminal window
git clone https://github.com/fraiseql/fraiseql-starter-blog
cd fraiseql-starter-blog
cp .env.example .env
docker compose up

Open http://localhost:8080/graphql — you get the same API with a fully mutable database you control.

Blog Starter

Clone the starter-blog repo — one docker compose up and you’re running.