DEV Community

Cover image for RocketGraph πŸ§‘β€πŸš€ : Serverless backend for your web apps πŸš€ (OPEN-SOURCE)
Kaushik Varanasi
Kaushik Varanasi

Posted on

RocketGraph πŸ§‘β€πŸš€ : Serverless backend for your web apps πŸš€ (OPEN-SOURCE)

Rocketgraph. When I was building applications, there were a lot of things in the whole javascript ecosystem I really did not like. These ideas also resonated with the opinions of many good programmers later as well. And since we cannot change(drastically) or replace javascript, we are left with no choice but only making it better. So I came up with a product that makes it easier to start a complex web app(in a few minutes)

With Rocketgraph you can get a full blown web application with database, serverless functions and a GraphQl API in minutes. Not to mention also the SDKs to get you started on the front-end as well.

Rocketgraph provides the following functionality:

  1. Authentication: This is a system that almost every web application needs these days. Having to rewrite that every time is a pain. Auth0 is great but is also expensive and has a vendor lock-in. Paying just for authentication? Rocketgraph comes with email/password, social and magic link authetication
  2. Authorization: You can configure granular level authorization rules on your rows via the Hasura console.
  3. Postgres setup
  4. Realtime: Making it real-time will leave you no option except Firebase. Others are slightly a hassle. With Rocketgraph you get real-time subscriptions right out of the box on your favorite and most trusted Postgres DB.
  5. Automated Deployment: Rocketgraph provides automated deployments from github to lambda
  6. SSL

Rocketgraph solves all of these problems and many more. To put it simply its a complete back-end provided to you. All you have to do is create additional pages for your app. All the user information is accessible across your app and your back-end deployments are also handled automatically. It's like Vercel but for back-end. Check out the features

Rocketgraph features

Yup! Recently I changed the game with serverless functions and automated deployments via Github. Every push you make to master is compiled and converted to an AWS Lambda. You can write your code in express node and hook it up to Lambda using their express-serverless library. You can check out the example lambda here which is a simple calculator app.

For example your code for authenticating users is like follows

Rocketgraph Auth

You will have a Hasura console to manage authorization based on the permissions encoded in JWT token(also handled by Rocketgraph)

Rocketgraph Hasura Graphql console

Here you can setup Row based permissions, webhook integrations(Any change to DB triggers this), modify your Postgres DB(Also provided by Rocketgraph) etc.

And its open-source

So I have basically isolated all the common pain points in getting started with web development and made it so smooth to get you started with your web apps. This can generate an actual production grade web app and all you have to do is create pages based on which client you are working for. Rocketgraph with take care of the rest.

Check it out in action here:

The interface is old, now I have migrated the app to Next.js so don't worry about that. But you get the point.

Check it out at https://rocketgraph.io

DM me here: https://twitter.com/kaushik__v
what you think, and I would be happy to provide you free credits on my platform and may be even a cashback($2-$3) for using it.

If you like my work, please give a follow here:
https://twitter.com/RGraphql

I will follow you back from my twitter account.

PS: It took me over an year to build this product alone. It is completely bootstrapped and has no funding. It is my full-time project. Your support will help me add more features and keep building it. Thanks so much for reading and supporting.

Oldest comments (2)

Collapse
 
biomathcode profile image
Pratik sharma

Hey Great Work!

I just can't differentiate it from Hasura, Stepzen which create graphql Apis from the database. Supabase is a great service that i have used as database as service in the past. Personally, I can't really find a good use case where i will learn or sign up for rocketGraph. I like that you give postgres database as a service, with the graphQL API.

Can you better explain to me how rocketgraph is different from other solutions ?

Collapse
 
kaushik94 profile image
Kaushik Varanasi

Hey Pratik. Thank you so much for using Rocketgraph. It is different from Stepzen as it creates a more graular level auth system using Hasura. And also I think their create front-ends from Graphql schemas is pretty awesome. But also there is a lot of scope for development. In fact I had a talk with one of their dev rels about it and I decided that is something good to have in ours too. As of Hasura, it is something I built it on top of. If they weren't there we wouldn't be. But hosting Hasura with Postgres in itself is a good sell I believe as it is not easy to do. On top of that I provide serverless functions and auth too. I have read on several forums where developers told that they would pay just for hosting Hasura itself. And this is different from Supabase in may ways. It's solutions are not "organic", in the sense for example they use deno as a runtime for their serverless whereas I use just the regular node-express with node-express-lambda(just a hook for aws lambdas). So it is more developer friendly. Plus they enforce rules on Postgres whereas I have another layer(Hasura) which enforces granular level auth policies on your PG data.

I have taken inspiration from Platforms like Supabase and made something that I believes solves a problem in a better way. Please do reply if you would like to add to this. And thanks so much for using Rocketgraph and giving feedback.