Go to file
Vikram Rangnekar 81338b6123 Fix issues blocking Apollo client 2020-03-14 01:35:42 -04:00
.chglog Add a CHANGLOG.md 2019-11-29 00:14:05 -05:00
.github/ISSUE_TEMPLATE Update issue templates 2019-12-01 01:25:39 -05:00
allow Add ability to add comments to the allow list 2020-02-04 00:20:25 -05:00
bench Fix startup bug in demo script 2019-07-30 01:38:05 -04:00
config Add ability to set CORS headers 2020-03-06 09:47:51 +05:30
corpus Add SQL query cacheing 2019-04-20 00:35:57 -04:00
crypto Add pagination using opaque cursors 2020-02-10 12:15:37 +05:30
docs Add CSV import command to seed javascript 2020-03-03 13:45:47 +05:30
examples/rails-app fix "Try the demo app" in docs (#38) 2020-02-24 02:02:22 +05:30
jsn Fix corrupt json bug in jsn package 2020-02-24 02:00:11 +05:30
migrate Add support for Yugabyte DB 2020-02-07 11:42:14 +05:30
psql Fix issues blocking Apollo client 2020-03-14 01:35:42 -04:00
qcode Fix issues blocking Apollo client 2020-03-14 01:35:42 -04:00
rails Add CSV import command to seed javascript 2020-03-03 13:45:47 +05:30
scripts Fix issue with setting PORT env var 2020-03-04 15:39:53 +05:30
serv Fix issues blocking Apollo client 2020-03-14 01:35:42 -04:00
slides Optimize db queries limit use of transactions 2019-11-21 02:14:12 -05:00
tmpl Fix bug related to 'anon' role prepared statements 2020-03-06 15:39:15 +05:30
util Reduce alllocations done by the stack 2019-06-16 20:51:36 -04:00
web Add HTTP GZip compression 2019-12-31 01:30:20 -05:00
.dockerignore Improve the demo experience 2019-04-11 01:10:51 -04:00
.gitignore Fix issues surfaced by the fuzzer 2020-02-02 01:43:09 -05:00
.wtc.yaml Preserve allow.list ordering on save 2019-10-25 01:39:59 -04:00
CHANGELOG.md Fix documentation for DB relationships 2019-12-10 00:03:44 -05:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2019-12-01 00:13:04 -05:00
CONTRIBUTING.md Update CONTRIBUTING.md 2019-12-01 01:17:27 -05:00
Dockerfile Add ability to set CORS headers 2020-03-06 09:47:51 +05:30
LICENSE Move license from MIT to Apache 2.0. Add Makefile 2019-11-28 01:25:46 -05:00
Makefile Fix issue with upgrading to postgres 12 docker image #36 2020-02-24 02:37:21 +05:30
NOTICE Move license from MIT to Apache 2.0. Add Makefile 2019-11-28 01:25:46 -05:00
README.md Add Yugabyte to docs 2020-02-12 08:42:53 +05:30
demo rails-app moved to examples folder 2019-10-05 00:49:39 -04:00
docker-compose.yml Fix issue with upgrading to postgres 12 docker image #36 2020-02-24 02:37:21 +05:30
fuzzbuzz.yaml Add migrate command 2019-09-26 00:35:31 -04:00
go.mod Add ability to set CORS headers 2020-03-06 09:47:51 +05:30
go.sum Add ability to set CORS headers 2020-03-06 09:47:51 +05:30
main.go Fix to ensure only named queries are saved to the allow list 2020-02-01 10:54:19 -05:00

README.md

Build web products faster. Secure high performance GraphQL

Apache Public License 2.0 Docker build Cloud native Discord Chat

What is Super Graph

Is designed to 100x your developer productivity. Super Graph will instantly and without you writing code provide you a high performance and secure GraphQL API for Postgres DB. GraphQL queries are translated into a single fast SQL query. No more writing API code as you develop your web frontend just make the query you need and Super Graph will do the rest.

Super Graph has a rich feature set like integrating with your existing Ruby on Rails apps, joining your DB with data from remote APIs, role and attribute based access control, support for JWT tokens, built-in DB mutations and seeding, and a lot more.

GraphQL

The story of Super Graph?

After working on several products through my career I find that we spend way too much time on building API backends. Most APIs also require constant updating, this costs real 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.

Features

  • Complex nested queries and mutations
  • Auto learns database tables and relationships
  • Role and Attribute based access control
  • 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 YugabyteDB

Get started

git clone https://github.com/dosco/super-graph 
cd ./super-graph
make install

super-graph new <app_name>

Documentation

supergraph.dev

Contact me

I'm happy to help you deploy Super Graph so feel free to reach out over Twitter or Discord.

twitter/dosco

chat/super-graph

License

Apache Public License 2.0

Copyright (c) 2019-present Vikram Rangnekar