Go to file
Vikram Rangnekar 6536b12858 Add query support for ts_rank and ts_headline 2019-04-06 02:35:08 -04:00
docs Add full text search support using TSV indexes 2019-04-05 01:44:30 -04:00
example Add full text search support using TSV indexes 2019-04-05 01:44:30 -04:00
psql Add query support for ts_rank and ts_headline 2019-04-06 02:35:08 -04:00
qcode Add query support for ts_rank and ts_headline 2019-04-06 02:35:08 -04:00
serv Add query support for ts_rank and ts_headline 2019-04-06 02:35:08 -04:00
util First commit 2019-03-24 09:57:29 -04:00
web Add fetch by ID feature 2019-04-04 00:53:24 -04:00
.dockerignore Add fetch by ID feature 2019-04-04 00:53:24 -04:00
.gitignore Add fetch by ID feature 2019-04-04 00:53:24 -04:00
Dockerfile Add React UI building to the docker build flow 2019-03-28 12:36:24 -04:00
LICENSE Fix license to MIT 2019-03-24 10:07:07 -04:00
README.md Add fetch by ID feature 2019-04-04 00:53:24 -04:00
dev.yml Add fetch by ID feature 2019-04-04 00:53:24 -04:00
docker-compose.image.yml Optimize docker image 2019-03-27 00:14:07 -04:00
docker-compose.yml Add React UI building to the docker build flow 2019-03-28 12:36:24 -04:00
fresh.conf Add fetch by ID feature 2019-04-04 00:53:24 -04:00
go.mod Add full text search support using TSV indexes 2019-04-05 01:44:30 -04:00
go.sum Fix issue with asset packer breaking Docker builds 2019-03-28 09:38:05 -04:00
main.go First commit 2019-03-24 09:57:29 -04:00
prod.yml Add SQL execution timing and tracing 2019-04-01 08:55:46 -04:00

README.md

Super Graph

Instant GraphQL API for Rails. Zero code.

Get an high-performance GraphQL API for your Rails app in seconds. Super Graph will auto-learn your database structure and relationships. Built in support for Rails authentication and JWT tokens.

Super Graph Web UI

Why I built Super Graph?

I have a Rails app that gets a bit of traffic. While planning to improve the UI using React or Vue I found that my current APIs didn't have what we needed. I'd have to add more controllers and ensure they are providing the right amount of data. This required designing new APIs and making sure they match what the webdevs need. While this is all to common work I was bored and there had to be a better way.

All my Rails controllers were esentially wrappers around database queries and its not exactly fun writing more of them.

I always liked GraphQL it made everything so simple. Web devs can use GraphQL to fetch exactly the data they need. There is one small issue however you still hasve to write a lot of the same database code.

I wanted a GraphQL server that just worked the second you deployed it without having to write a line of code.

And so after a lot of coffee and some avocado toasts Super Graph was born. An instant GraphQL API service that's high performance and easy to deploy. I hope you find it as useful as I do and there's a lot more coming so hit that to stay in the loop.

Features

  • Support for Rails database conventions
  • Belongs-To, One-To-Many and Many-To-Many table relationships
  • Devise, Warden encrypted and signed session cookies
  • Redis, Memcache and Cookie session stores
  • JWT tokens supported from providers like Auth0
  • Generates highly optimized and fast Postgres SQL queries
  • Customize through a simple config file
  • High performance GO codebase
  • Tiny docker image and low memory requirements

Contact me

twitter.com/dosco

License

MIT

Copyright (c) 2019-present Vikram Rangnekar