You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vikram Rangnekar 7557a4c29c fix: issue with fragments related crash 1 year ago
.chglog chore: update changelog 2 years ago
.github/ISSUE_TEMPLATE Update issue templates 2 years ago
config fix: add http tracing so end-to-end tracing is possible 2 years ago
core fix: issue with fragments related crash 1 year ago
docs docs: add firebase auth and fragments 1 year ago
examples/rails-app fix: vars not sanitized in roles_query 2 years ago
internal fix: implement various deepsource suggestions 1 year ago
jsn fix: bug with parsing variables in roles_query 1 year ago
.deepsource.toml Add .deepsource.toml 2 years ago
.dockerignore Improve the demo experience 3 years ago
.gitignore fix: make array variables work again 2 years ago
.wtc.yaml Make go get to install work. 2 years ago chore: update changelog 2 years ago Create 2 years ago Update 2 years ago
Dockerfile fix: remove upx install from dockerfile 1 year ago
LICENSE Move license from MIT to Apache 2.0. Add Makefile 2 years ago
Makefile fix: bug with reading config file by name 2 years ago
NOTICE Move license from MIT to Apache 2.0. Add Makefile 2 years ago fix: rewrite the sql args and variables codebase to use expression values 2 years ago
demo rails-app moved to examples folder 2 years ago
docker-compose.yml Fix issue with upgrading to postgres 12 docker image #36 2 years ago
fuzzbuzz.yaml Add migrate command 2 years ago
go.mod fix: bug with shared pointer in new jit mode 1 year ago
go.sum fix: bug with shared pointer in new jit mode 1 year ago
main.go Make go get to install work. 2 years ago

Super Graph - Fetch data without code!

GoDoc Apache 2.0 Docker build Discord Chat

Super Graph gives you a high performance GraphQL API without you having to write any code. GraphQL is automagically compiled into an efficient SQL query. Use it either as a library or a standalone service.

Using it as a service

go get
super-graph new <app_name>

Using it in your own code

go get
package main

import (
  _ ""

func main() {
  db, err := sql.Open("pgx", "postgres://postgrs:@localhost:5432/example_db")
  if err != nil {

  sg, err := core.NewSuperGraph(nil, db)
  if err != nil {

  query := `
    query {
      posts {

  ctx = context.WithValue(ctx, core.UserIDKey, 1)

  res, err := sg.GraphQL(ctx, query, nil)
  if err != nil {


About Super Graph

After working on several products through my career I found that we spend way too much time on building API backends. Most APIs also need constant updating, and this costs time and money.

It's always the same thing, figure out what the UI needs then build an endpoint for it. Most API code involves struggling with an ORM to query a database and mangle the data into a shape that the UI expects to see.

I didn't want to write this code anymore, I wanted the computer to do it. Enter GraphQL, to me it sounded great, but it still required me to write all the same database query code.

Having worked with compilers before I saw this as a compiler problem. Why not build a compiler that converts GraphQL to highly efficient SQL.

This compiler is what sits at the heart of Super Graph, with layers of useful functionality around it like authentication, remote joins, rails integration, database migrations, and everything else needed for you to build production-ready apps with it.


  • Complex nested queries and mutations
  • Auto learns database tables and relationships
  • Role and Attribute-based access control
  • Opaque cursor-based efficient pagination
  • Full-text search and aggregations
  • JWT tokens supported (Auth0, etc)
  • Join database queries with remote REST APIs
  • Also works with existing Ruby-On-Rails apps
  • Rails authentication supported (Redis, Memcache, Cookie)
  • A simple config file
  • High performance Go codebase
  • Tiny docker image and low memory requirements
  • Fuzz tested for security
  • Database migrations tool
  • Database seeding tool
  • Works with Postgres and Yugabyte DB
  • OpenCensus Support: Zipkin, Prometheus, X-Ray, Stackdriver


Reach out

We're happy to help you leverage Super Graph reach out if you have questions




Apache Public License 2.0

Copyright (c) 2019-present Vikram Rangnekar