Coder Social home page Coder Social logo

andy9775 / super-graph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dosco/graphjin

0.0 1.0 0.0 8.47 MB

Super Graph - Build web products faster. Secure high performance GraphQL

Home Page: https://supergraph.dev

License: Apache License 2.0

Dockerfile 0.24% JavaScript 2.48% CSS 0.12% HTML 0.44% Shell 0.30% Go 83.14% Roff 0.29% Lua 0.07% TSQL 12.12% Makefile 0.80%

super-graph's Introduction

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

super-graph's People

Contributors

dosco avatar bhaskarmurthy avatar bketelsen avatar muesli avatar lzakharov avatar pestdoktor avatar foursigma avatar reinhardt1053 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.