{"id":24375090,"url":"https://github.com/splorg/openauth-nextjs-api-demo","last_synced_at":"2026-04-21T05:31:36.307Z","repository":{"id":272674968,"uuid":"917398770","full_name":"splorg/openauth-nextjs-api-demo","owner":"splorg","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-16T15:40:45.000Z","size":154,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T07:02:50.392Z","etag":null,"topics":["bun","monorepo","nextjs","openauth","prisma","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/splorg.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,"zenodo":null}},"created_at":"2025-01-15T22:50:40.000Z","updated_at":"2025-01-16T15:40:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"33ae5bd8-a79f-4f2c-aded-559ee966d4ea","html_url":"https://github.com/splorg/openauth-nextjs-api-demo","commit_stats":null,"previous_names":["splorg/openauth-nextjs-api-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/splorg/openauth-nextjs-api-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splorg%2Fopenauth-nextjs-api-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splorg%2Fopenauth-nextjs-api-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splorg%2Fopenauth-nextjs-api-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splorg%2Fopenauth-nextjs-api-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splorg","download_url":"https://codeload.github.com/splorg/openauth-nextjs-api-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splorg%2Fopenauth-nextjs-api-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32078735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bun","monorepo","nextjs","openauth","prisma","typescript"],"created_at":"2025-01-19T05:53:10.551Z","updated_at":"2026-04-21T05:31:36.299Z","avatar_url":"https://github.com/splorg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openauth-nextjs-api-demo\n\nLittle demo trying out [OpenAuth](https://openauth.js.org/) for centralized authentication\n\n- Authenticating from a Next.js app\n- Protecting routes in Next.js middleware\n- Authenticating in REST API from cookies or authorization header\n\n## How to run\n\n```bash\nbun install\ndocker compose up -d\ncd packages/db \u0026\u0026 cp .env.example .env \u0026\u0026 bunx prisma migrate dev\ncd ../auth\ncd ../web \u0026\u0026 cp .env.example .env\ncd ../api \u0026\u0026 cp .env.example .env\ncd ../.. \u0026\u0026 bun dev\n```\n\nOpen browser and go to http://localhost:3000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplorg%2Fopenauth-nextjs-api-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplorg%2Fopenauth-nextjs-api-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplorg%2Fopenauth-nextjs-api-demo/lists"}