Go to file
Vikram Rangnekar b87ba1fcd0 Add config driven presets for insert, update and upsert 2019-10-30 03:27:11 -04:00
bench Fix startup bug in demo script 2019-07-30 01:38:05 -04:00
config Add config driven presets for insert, update and upsert 2019-10-30 03:27:11 -04:00
corpus Add SQL query cacheing 2019-04-20 00:35:57 -04:00
docs Allow config files to inherit from other config files 2019-10-28 01:48:04 -04:00
examples/rails-app Add built in 'anon' and 'user' roles 2019-10-15 02:30:19 -04:00
jsn Add RBAC option to disable functions eg. count 2019-10-27 01:52:48 -04:00
migrate Add upsert mutation 2019-10-05 02:17:08 -04:00
psql Add config driven presets for insert, update and upserta 2019-10-30 02:30:31 -04:00
qcode Add config driven presets for insert, update and upsert 2019-10-30 03:27:11 -04:00
rails Add supprt for new Rails 5.2 aes-256-gcm cookies 2019-04-10 01:38:48 -04:00
serv Add config driven presets for insert, update and upsert 2019-10-30 03:27:11 -04:00
slides Preserve allow.list ordering on save 2019-10-25 01:39:59 -04:00
tmpl Add config driven presets for insert, update and upsert 2019-10-30 03:27:11 -04: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 Add fuzz testing to 'jsn' and 'qcode' 2019-10-26 03:02:05 -04:00
.wtc.yaml Preserve allow.list ordering on save 2019-10-25 01:39:59 -04:00
Dockerfile Preserve allow.list ordering on save 2019-10-25 01:39:59 -04:00
LICENSE Fix license to MIT 2019-03-24 10:07:07 -04:00
README.md Preserve allow.list ordering on save 2019-10-25 01:39:59 -04: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 fuzz testing to 'jsn' and 'qcode' 2019-10-26 03:02:05 -04:00
go.sum Add fuzz testing to 'jsn' and 'qcode' 2019-10-26 03:02:05 -04:00
main.go Add REST API stitching 2019-05-12 19:27:26 -04:00

README.md

Super Graph - Build web products faster. Instant GraphQL APIs for your apps

MIT license Docker build Cloud native Discord Chat

Get an instant high performance GraphQL API for Postgres. No code needed. GraphQL is automatically transformed into efficient database queries.

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

  • Works with Rails database schemas
  • Automatically learns schemas and relationships
  • Belongs-To, One-To-Many and Many-To-Many table relationships
  • Full text search and Aggregations
  • Rails Auth supported (Redis, Memcache, Cookie)
  • JWT tokens supported (Auth0, etc)
  • Join with remote REST APIs
  • Highly optimized and fast Postgres SQL queries
  • Support GraphQL queries and mutations
  • Configure with a simple config file
  • High performance GO codebase
  • Tiny docker image and low memory requirements
  • Database migrations tool
  • Write database seeding scripts in Javascript

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

MIT

Copyright (c) 2019-present Vikram Rangnekar