super-graph/README.md

83 lines
3.4 KiB
Markdown
Raw Normal View History

<!-- <a href="https://supergraph.dev"><img src="https://supergraph.dev/hologram.svg" width="100" height="100" align="right" /></a> -->
2019-04-18 15:27:36 +02:00
<img src="docs/.vuepress/public/super-graph.png" width="250" />
### Build web products faster. Secure high performance GraphQL
2019-03-24 14:57:29 +01:00
![Apache Public License 2.0](https://img.shields.io/github/license/dosco/super-graph.svg)
2019-04-18 05:35:08 +02:00
![Docker build](https://img.shields.io/docker/cloud/build/dosco/super-graph.svg)
![Cloud native](https://img.shields.io/badge/cloud--native-enabled-blue.svg)
[![Discord Chat](https://img.shields.io/discord/628796009539043348.svg)](https://discord.gg/6pSWCTZ)
2019-03-24 14:57:29 +01:00
## What is Super Graph
2019-12-31 07:30:20 +01:00
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.
2019-12-02 16:32:35 +01:00
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.
2019-10-01 06:00:15 +02:00
![GraphQL](docs/.vuepress/public/graphql.png?raw=true "")
2019-03-30 06:11:30 +01:00
2019-10-01 06:00:15 +02:00
## The story of Super Graph?
2019-03-24 14:57:29 +01:00
2019-10-01 06:00:15 +02:00
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.
2019-03-24 14:57:29 +01:00
2019-10-01 06:00:15 +02:00
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.
2019-03-24 14:57:29 +01:00
2019-10-01 06:00:15 +02:00
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.
2019-03-24 14:57:29 +01:00
## Features
2019-10-01 06:00:15 +02:00
2019-12-31 07:30:20 +01:00
- Complex nested queries and mutations
- Auto learns database tables and relationships
- Role and Attribute based access control
- Full text search and aggregations
2019-04-07 07:12:11 +02:00
- JWT tokens supported (Auth0, etc)
2019-12-31 07:30:20 +01:00
- 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
2019-03-24 14:57:29 +01:00
- Tiny docker image and low memory requirements
- Fuzz tested for security
2019-10-01 06:00:15 +02:00
- Database migrations tool
- Database seeding tool
2020-02-12 04:12:53 +01:00
- Works with Postgres and YugabyteDB
2019-05-13 01:27:26 +02:00
## Get started
```
git clone https://github.com/dosco/super-graph
cd ./super-graph
make install
super-graph new <app_name>
```
2019-04-11 07:39:59 +02:00
## Documentation
[supergraph.dev](https://supergraph.dev)
2019-03-24 14:57:29 +01:00
## Contact me
2019-10-25 07:39:59 +02:00
I'm happy to help you deploy Super Graph so feel free to reach out over
Twitter or Discord.
[twitter/dosco](https://twitter.com/dosco)
[chat/super-graph](https://discord.gg/6pSWCTZ)
2019-03-24 14:57:29 +01:00
## License
[Apache Public License 2.0](https://opensource.org/licenses/Apache-2.0)
2019-03-24 14:57:29 +01:00
Copyright (c) 2019-present Vikram Rangnekar