super-graph/README.md

2.5 KiB

Super Graph - Instant GraphQL API for Rails

MIT license Docker build Cloud native

Get an high-performance GraphQL API for your Rails app in seconds without writing a line of code. 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?

Honestly, cause it was more fun than my real work. After working on several product though my career I found myself hating building CRUD APIs (Create, Update, Delete, List, Show). It was always the same thing figure out what the UI needs then build an endpoint for it, if related data is needed than join with another table. I didn't want to write that code anymore I wanted the computer to just do it.

I always liked GraphQL it sounded friendly, but it still required me to write all the same database query code. Sure the API was nicer but it took a lot of work sometime even more than a simple REST API would have. 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, a GraphQL server that just works, is 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

  • 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
  • Configure with a simple config file
  • High performance GO codebase
  • Tiny docker image and low memory requirements

Watch some talks

Watch the video

Documentation

supergraph.dev

Contact me

twitter.com/dosco

License

MIT

Copyright (c) 2019-present Vikram Rangnekar