{"id":14989847,"url":"https://github.com/rocketsgraphql/rgraph","last_synced_at":"2025-04-12T00:31:33.023Z","repository":{"id":53120749,"uuid":"499193126","full_name":"RocketsGraphQL/rgraph","owner":"RocketsGraphQL","description":"Backend with superpowers.  Supercharge your web applications with Authentication, Database, GraphQL and serverless functions right from day zero.","archived":false,"fork":false,"pushed_at":"2024-03-10T09:28:23.000Z","size":88015,"stargazers_count":85,"open_issues_count":4,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T20:33:30.507Z","etag":null,"topics":["auth0","authentication","email-password-login","github-actions","go","graphql","login","oauth","serverless","social-login"],"latest_commit_sha":null,"homepage":"https://rocketgraph.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RocketsGraphQL.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-02T15:36:31.000Z","updated_at":"2025-03-01T22:34:57.000Z","dependencies_parsed_at":"2022-09-01T20:13:32.324Z","dependency_job_id":"57027fe8-ff6a-41be-a1d9-a878e961f93d","html_url":"https://github.com/RocketsGraphQL/rgraph","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"422365413efb2654359dcd8b3b3d55fa766208c1"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocketsGraphQL%2Frgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocketsGraphQL%2Frgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocketsGraphQL%2Frgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocketsGraphQL%2Frgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RocketsGraphQL","download_url":"https://codeload.github.com/RocketsGraphQL/rgraph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501238,"owners_count":21114636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auth0","authentication","email-password-login","github-actions","go","graphql","login","oauth","serverless","social-login"],"created_at":"2024-09-24T14:19:01.019Z","updated_at":"2025-04-12T00:31:28.001Z","avatar_url":"https://github.com/RocketsGraphQL.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/kaushikv"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://twitter.com/RGraphql\"\u003e\n    \u003cimg alt=\"Logo\" src=\"https://production-customer-site-public.s3.us-east-2.amazonaws.com/Light.png\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003e\n  RocketGraphQL :rocket:\n\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003e\n  \u003c!-- \u003cb\u003e\u003ca href=\"https://app.appsmith.com/signup/?utm_source=github\u0026utm_medium=social\u0026utm_content=website\u0026utm_campaign=null\u0026utm_term=website\"\u003eGet Started\u003c/a\u003e\u003c/b\u003e --\u003e\n\n  \u003ca href=\"https://docs.rocketgraph.io\"\u003eDocs\u003c/a\u003e\n  •\n  \u003ca href=\"https://youtu.be/K5TGDapSnQw\"\u003eYoutube\u003c/a\u003e\n  •\n  \u003ca href=\"https://discord.gg/YHVnZ5WT\"\u003eDiscord\u003c/a\u003e\n  •\n  \u003ca href=\"https://github.com/RocketsGraphQL/rgraph/tree/master/example-setups\"\u003eTemplates\u003c/a\u003e \n  \u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://twitter.com/RGraphql\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/RgraphQl?style=social\" alt=\"Twitter follow\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://twitter.com/RGraphql\"\u003e\u003cimg src=\"https://img.shields.io/badge/release-v0.3.0-success\" alt=\"Release\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n![signup_api](./images/title_image.png)\n\n\u003cbr /\u003e\n\n**Rocketgraph** gives superpowers to your web applications. Get Authentication, Postgres Database pre-configured, GraphQL console, AI Chatbots and Server-less function right from day 0. When you create a project on [rocketgraph](https://rocketgraph.io/) you are provided with [Postgres Instance](https://www.postgresql.org/), [Hasura console](https://hasura.io/) to get a GraphQL API and manage granular authorisation rules, automated server-less deployments with Git, and a full blown authentication system built in. It uses the open-source [Hasura Batteries](https://github.com/RocketsGraphQL/hasura-batteries) to power it's authentication service. In addition you also get an AI chatbot that is trained on the documentation provided by you. \n\n**🎉What's new?**\n\nCheckout how to train your own AI Chatbot. Just provide the documentation URL and it'll scrape the URL, tokenize the text and train an AI chatbot that can answer your user's questions.\n\n\u003cp\u003e\n  \u003cimg src=\"./images/show_training.gif\" width=\"100%\"\u003e\n\u003c/p\u003e\n\n\n## Table of contents\n\n- [Introduction](#introduction)\n- [Getting Started](#getting-started)\n- [Postgres logger](#postgres-logs-using-pgaudit)\n- [Self-hosting](#run-on-your-machine-self-hosted)\n- [Docs](http://docs.rocketgraph.io/)\n- [Join Community](https://discord.gg/YHVnZ5WT)\n\n# Introduction\n\n\u003c!-- \u003cimg src=\"./images/code_showcase_15fps.gif\"/\u003e --\u003e\n\n\u003cbr /\u003e\n\n### We offer the following functionality\n\n- 🔒 Authentication using email/password\n- 👬 Authentication using social logins\n- 🪄 Authentication using OTP and magic link\n- ⛈️ Server-less functions: Bring your own code and run it as thin AWS lambdas.\n- 👨‍💻 Your code will be automatically picked up from your Github commits by our Github bot and deployed as Lambdas\n- 🦾 AWS RDS support: 8GB PostgreSQL\n- 👩‍🚀 Postgres Logs using `pgAudit`\n- 🍪 Secure session management with cookies refreshed automatically\n\n\u003cbr /\u003e\n\n\n\u003cbr /\u003e\n\n\n\u003c!-- ## Roadmap\n\n- Support more JWT encryption algorithms (Currently supporting HS256)\n- 2 Factor authentication\n- Back office (Admin dashboard to manage user)\n- Support more database\n- VueJS SDK\n- Svelte SDK\n- React Native SDK\n- Flutter SDK\n- Android Native SDK\n- iOS native SDK\n- Golang SDK\n- Python SDK\n- PHP SDK\n- WordPress plugin\n- Kubernetes Helm Chart\n- [Local Stack](https://github.com/localstack/localstack)\n- AMI\n- Digital Ocean Droplet\n- Azure\n- Render\n- Edge Deployment using Fly.io\n- Password-less login with mobile number and OTP SMS --\u003e\n\n# Getting Started\n\n## Trying out Rocketgraph\n\nThis guide helps you get started with rocketgraph and setting up your backend in just 15 minutes. In 15 minutes you will be able to create a todos app with db, auth and realtime subscriptions.\n\n### Create account\nYour first instance is free for 14 days. No credit card.\nSo go to [the signup page](https://rocketgraph.io/signup) and create account. Then on the dashboard click new project. Wait for a few seconds for the instance to boot up and load the software.\n\u003c!-- \u003cimg src=\"./images/demo-full.gif\"/\u003e --\u003e\n\n### Project setup\nYou can see your hasura console url. There you can manage your database.\n\n\u003c!-- \u003cimg src=\"./images/hasura_photo.png\"/\u003e --\u003e\n\nAnd links to your Backend URLs\n\u003c!-- \u003cimg src=\"./images/backend_photo.png\"/\u003e --\u003e\n\n\n### Code setup TLDR version\n\nFor your front-end, you can start with the already provided [examples](https://github.com/RocketsGraphQL/example-setups). Just download and `npm run dev`. `todos` is without authentication, `auth` is with authentication.\n\n\u003c!-- \u003cp align=\"center\"\u003e\n\u003cimg align=\"center\" src=\"./images/dashboard.gif\"/\u003e\n\u003c/p\u003e --\u003e\n\u003cbr /\u003e\n\n### Code setup (just the basics)\n\n```bash\nnpx create-react-app todos\ncd todos\n```\n\n```bash\nyarn add react-router-dom react-router\nyarn add @apollo/client @rocketgraphql/react-apollo @rocketgraphql/rocketgraph-js-sdk graphql\n```\n\nNext create `src/utils/config.js` and add the following:\n\n```js\nimport { createClient } from \"@rocketgraphql/rocketgraph-js-sdk\";\n \nconst config = {\n  baseURL: \"https://backend-XXXXXXX.rocketgraph.app/auth\",\n};\n \nconst { auth } = createClient(config);\n \nexport { auth };\n```\n\nReplace the `backend-XXX` URL with the url on your Rocketgraph dashboard. Congratulations, you have setup the basics required to use Rocketgraph.\n\n\n### RApolloProvider\n\nUse GraphQL in your application, `index.js` by wrapping your App in RApolloProvider as follows:\n\n```js\n// src/index.js\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { ChakraProvider } from '@chakra-ui/react'\nimport { BrowserRouter as Router, Routes, Route } from \"react-router-dom\";\nimport App from \"./App\";\nimport Message from \"./components/Message\"\nimport Login from \"./components/Login\"\nimport Signup from \"./components/Signup\"\n\n// Rocketgraph providers\nimport { RApolloProvider } from \"@rocketgraphql/react-apollo\";\nimport { auth } from \"./utils/config\";\n\nReactDOM.render(\n  \u003cReact.StrictMode\u003e\n    \u003cChakraProvider\u003e\n      \u003cRApolloProvider auth={auth} gqlEndpoint=\"https://hasura-AEF0WTE.rocketgraph.app/v1/graphql\"\u003e\n        \u003cRouter\u003e\n          \u003cRoutes\u003e\n            \u003cRoute path=\"/login\" element={\u003cLogin /\u003e}/\u003e\n            \u003cRoute path=\"/signup\" element={\u003cSignup /\u003e}/\u003e\n            \u003cRoute path=\"/messages\" element={\u003cMessage /\u003e} /\u003e\n            \u003cRoute path=\"/\" element={\u003cApp /\u003e} /\u003e\n          \u003c/Routes\u003e\n        \u003c/Router\u003e\n      \u003c/RApolloProvider\u003e\n    \u003c/ChakraProvider\u003e\n  \u003c/React.StrictMode\u003e,\n  document.getElementById(\"root\")\n);\n```\n\nThen in your App.js file\n\n```js\nimport { gql, useSubscription } from \"@apollo/client\";\n\nconst GET_TODOS = gql`\n    subscription {\n      users {\n        id\n        email\n      }\n    }\n`;\n\nexport default function Application() {\n  const [ data, loading] = useSubscription(GET_TODOS);\n}\n\n```\n\n## AI Chatbots powered by pgVector and OpenAI:\n\nFirst enter your documentation URL to train your chatbot:\n\n\u003cp\u003e\n  \u003cimg src=\"./images/show_training.gif\" width=\"100%\"\u003e\n\u003c/p\u003e\n\nYou can test out your chatbot:\n\n\u003cp\u003e\n  \u003cimg src=\"./images/test_chatbot.gif\" width=\"100%\"\u003e\n\u003c/p\u003e\n\nget your embed code that you can embed in your own website:\n\n\u003cp\u003e\n  \u003cimg src=\"./images/copy_embed_code_showcase.gif\" width=\"100%\"\u003e\n\u003c/p\u003e\n\n## Postgres Logs using pgAudit\n\nIn your logs dasboard you can write complex queries to query your logs. Use [cloudwatch logs syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html)\n\n\u003cp\u003e\n  \u003cimg src=\"./images/logger_demo.gif\" width=\"100%\"\u003e\n\u003c/p\u003e\n\n## Rocketgraph Edge functions\n\nInstall Rgraph CLI v0.1.10\n\n\u003cp\u003e\n  \u003cimg src=\"./images/rgraph_install.gif\" width=\"100%\"\u003e\n\u003c/p\u003e\n\nDeploy your edge functions with `rgraph deploy \u003cproject_name\u003e`\n\n\u003cp\u003e\n  \u003cimg src=\"./images/deploy_lambda.gif\" width=\"100%\"\u003e\n\u003c/p\u003e\n\n\n## Run on your machine (self-hosted)\n\nSee : https://github.com/RocketsGraphQL/hasura-batteries\n\nTo run this as a standalone docker container.\n\n## Testing\n\n- We use cypress tests on all the examples provided. Run them using `cypress`\n- We use unit tests and CI pipelines, see: https://github.com/RocketsGraphQL/hasura-batteries\n\n\n\n---\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.buymeacoffee.com/kaushikv\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketsgraphql%2Frgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocketsgraphql%2Frgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketsgraphql%2Frgraph/lists"}