{"id":20689462,"url":"https://github.com/rocketsgraphql/rocket-js-sdk","last_synced_at":"2025-05-14T11:34:39.852Z","repository":{"id":42017324,"uuid":"402154955","full_name":"RocketsGraphQL/rocket-js-sdk","owner":"RocketsGraphQL","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-25T20:09:51.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T09:46:40.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RocketsGraphQL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2021-09-01T17:56:06.000Z","updated_at":"2024-06-25T20:09:54.000Z","dependencies_parsed_at":"2024-06-25T21:52:48.093Z","dependency_job_id":null,"html_url":"https://github.com/RocketsGraphQL/rocket-js-sdk","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"8b718ef771ac1977b8fa721d3a9659ed0f5fd0a2"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocketsGraphQL%2Frocket-js-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocketsGraphQL%2Frocket-js-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocketsGraphQL%2Frocket-js-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocketsGraphQL%2Frocket-js-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RocketsGraphQL","download_url":"https://codeload.github.com/RocketsGraphQL/rocket-js-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254132184,"owners_count":22020095,"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":[],"created_at":"2024-11-16T23:09:43.369Z","updated_at":"2025-05-14T11:34:39.810Z","avatar_url":"https://github.com/RocketsGraphQL.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rocket-js-sdk\n\nThis is a wrapper to API calls to your backend auth URL. This also takes care of periodically refreshing your auth tokens using an access token. To use it with Rocketgraph:\n\nTo Install:\n\n```\nnpm i --save @rocketgraphql/rocketgraph-js-sdk\n```\n\nUsage:\n\n```\nimport { createClient } from \"@rocketgraphql/rocketgraph-js-sdk\";\nimport Cookies from 'js-cookie';\n\nconst config = {\n  baseURL: \"https://backend-1CBIJOG.rocketgraph.app/api\",\n};\n\nconst { auth } = createClient(config);\nexport { auth };\n```\n\nNow you have access to several functions like:\n\n```\nauth.getJWTToken()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketsgraphql%2Frocket-js-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocketsgraphql%2Frocket-js-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketsgraphql%2Frocket-js-sdk/lists"}