{"id":21294617,"url":"https://github.com/trace2798/passage_grafbase_integration","last_synced_at":"2025-03-15T17:12:41.620Z","repository":{"id":188472394,"uuid":"678752313","full_name":"trace2798/passage_grafbase_integration","owner":"trace2798","description":"Example for integration Passage authentication with Grafbase","archived":false,"fork":false,"pushed_at":"2023-08-15T11:31:07.000Z","size":1813,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T06:48:06.994Z","etag":null,"topics":["grafbase","hashnode","nextjs13","passageby1password"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trace2798.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-08-15T09:41:13.000Z","updated_at":"2023-08-15T11:37:39.000Z","dependencies_parsed_at":"2023-08-19T01:15:17.685Z","dependency_job_id":null,"html_url":"https://github.com/trace2798/passage_grafbase_integration","commit_stats":null,"previous_names":["trace2798/passage_grafbase_integration"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trace2798%2Fpassage_grafbase_integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trace2798%2Fpassage_grafbase_integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trace2798%2Fpassage_grafbase_integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trace2798%2Fpassage_grafbase_integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trace2798","download_url":"https://codeload.github.com/trace2798/passage_grafbase_integration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243762269,"owners_count":20343979,"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":["grafbase","hashnode","nextjs13","passageby1password"],"created_at":"2024-11-21T13:59:56.528Z","updated_at":"2025-03-15T17:12:41.614Z","avatar_url":"https://github.com/trace2798.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Integrating Passage with [Grafbase](https://grafbase.com) and using [Grafbase Next.Js Plugin](https://grafbase.com/docs/tools/nextjs-plugin).\n\n### This repo is for my submission for the [Grafbase](https://grafbase.com) X [Hashnode](https://hashnode.com) X [hackathon](https://hashnode.com/hackathons/grafbase) which took place from August 1 - August 15, 2023\n\n#### Hashnode article: [Integrating Passage with Grafbase and using the Grafbase Next.Js Plugin](https://shreyas-chaliha.hashnode.dev/integrating-passage-with-grafbase-and-using-the-grafbase-nextjs-plugin)\n\n## Getting Started\n\n### Either fork the repo or directly clone it\n\n### Prerequisites\n\n**Node version 16.8 or later  \n**macOS, Windows (including WSL), and Linux are supported.\n\n### To directly clone the repo\n\n```shell\ngit clone https://github.com/trace2798/passage_grafbase_integration.git\n```\n\n### Install packages\n\n```shell\nnpm i\n```\n\n### Setup .env file\n\n```js\nNEXT_PUBLIC_PASSAGE_APP_ID=\n\nNEXT_PUBLIC_GRAFBASE_API_URL=\nNEXT_PUBLIC_GRAFBASE_API_KEY=\n```\n\n### Start the app\n\n```shell\nnpm run dev\n```\n\nSince I am using the next.js plugin from Grafbase, I do not need to separately start the grafbase server.\n\n## Available commands\n\nRunning commands with npm `npm run [command]`\n\n| command | description                              |\n| :------ | :--------------------------------------- |\n| `dev`   | Starts a development instance of the app |\n| `build` | To build your application                |\n| `start` | Starts a production instance of the app  |\n\n## For env value and functionality of this application I have written a very detailed article on [Hashnode](https://shreyas-chaliha.hashnode.dev/integrating-passage-with-grafbase-and-using-the-grafbase-nextjs-plugin)\n\nYoutube Demo Link: [Integrating Passage with Grafbase and using the Grafbase Next.Js Plugin](https://youtu.be/CCR1fBmR1xQ)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrace2798%2Fpassage_grafbase_integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrace2798%2Fpassage_grafbase_integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrace2798%2Fpassage_grafbase_integration/lists"}