Go to file
Bhaskar Murthy 5aceb337d6
Fix grammer / syntax
2019-12-02 10:32:35 -05: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
bench Fix startup bug in demo script 2019-07-30 01:38:05 -04:00
config Refactor rename 'Select.Table` to `Select.Name` 2019-11-29 01:38:23 -05:00
corpus Add SQL query cacheing 2019-04-20 00:35:57 -04:00
docs Add a guide to the internals of the codebase 2019-11-30 10:45:24 -05:00
examples/rails-app Add built in 'anon' and 'user' roles 2019-10-15 02:30:19 -04:00
jsn Move license from MIT to Apache 2.0. Add Makefile 2019-11-28 01:25:46 -05:00
migrate Move license from MIT to Apache 2.0. Add Makefile 2019-11-28 01:25:46 -05:00
psql Refactor rename 'Select.Table` to `Select.Name` 2019-11-29 01:38:23 -05:00
qcode Refactor rename 'Select.Table` to `Select.Name` 2019-11-29 01:38:23 -05:00
rails Add supprt for new Rails 5.2 aes-256-gcm cookies 2019-04-10 01:38:48 -04:00
serv Add a guide to the internals of the codebase 2019-11-30 10:45:24 -05:00
slides Optimize db queries limit use of transactions 2019-11-21 02:14:12 -05:00
tmpl Fix bug with compiling anon queries 2019-11-25 02:22:33 -05:00
util Reduce alllocations done by the stack 2019-06-16 20:51:36 -04:00
web Update documentation site 2019-09-30 01:25:23 -04:00
.dockerignore Improve the demo experience 2019-04-11 01:10:51 -04:00
.gitignore Move license from MIT to Apache 2.0. Add Makefile 2019-11-28 01:25:46 -05:00
.wtc.yaml Preserve allow.list ordering on save 2019-10-25 01:39:59 -04:00
CHANGELOG.md Add a CHANGLOG.md 2019-11-29 00:14:05 -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 a CHANGLOG.md 2019-11-29 00:14:05 -05:00
LICENSE Move license from MIT to Apache 2.0. Add Makefile 2019-11-28 01:25:46 -05:00
Makefile Fix for missing filters on nested selectors 2019-11-29 00:14:05 -05:00
NOTICE Move license from MIT to Apache 2.0. Add Makefile 2019-11-28 01:25:46 -05:00
README.md Fix grammer / syntax 2019-12-02 10:32:35 -05:00
demo rails-app moved to examples folder 2019-10-05 00:49:39 -04:00
docker-compose.yml Preserve allow.list ordering on save 2019-10-25 01:39:59 -04:00
fuzzbuzz.yaml Add migrate command 2019-09-26 00:35:31 -04:00
go.mod Add a CHANGLOG.md 2019-11-29 00:14:05 -05:00
go.sum Add a CHANGLOG.md 2019-11-29 00:14:05 -05:00
main.go Add REST API stitching 2019-05-12 19:27:26 -04: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

Super Graph is a micro-service that instantly and without code gives you a high performance and secure GraphQL API. Your GraphQL queries are auto 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

  • Role and Attribute based access control
  • Works with existing Ruby-On-Rails apps
  • Automatically learns database schemas and relationships
  • Full text search and aggregations
  • Rails authentication supported (Redis, Memcache, Cookie)
  • JWT tokens supported (Auth0, etc)
  • Join database with remote REST APIs
  • Highly optimized and fast Postgres SQL queries
  • GraphQL queries and mutations
  • 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

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