{"id":16925162,"url":"https://github.com/hiroppy/app-router_nexauth_prisma_stripe_sample","last_synced_at":"2025-07-05T23:40:53.593Z","repository":{"id":224307055,"uuid":"762960740","full_name":"hiroppy/app-router_nexauth_prisma_stripe_sample","owner":"hiroppy","description":"stripe + next.js app router + nextauth + prisma","archived":false,"fork":false,"pushed_at":"2024-04-28T03:33:03.000Z","size":134,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T23:03:11.467Z","etag":null,"topics":[],"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/hiroppy.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":"2024-02-25T07:09:39.000Z","updated_at":"2024-03-12T12:04:23.000Z","dependencies_parsed_at":"2024-10-13T20:08:58.727Z","dependency_job_id":"11b1c642-b70d-41f1-acf9-7bbd3c3fefeb","html_url":"https://github.com/hiroppy/app-router_nexauth_prisma_stripe_sample","commit_stats":null,"previous_names":["hiroppy/app-router_nexauth_prisma_stripe_sample"],"tags_count":0,"template":false,"template_full_name":"hiroppy/web-app-template","purl":"pkg:github/hiroppy/app-router_nexauth_prisma_stripe_sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fapp-router_nexauth_prisma_stripe_sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fapp-router_nexauth_prisma_stripe_sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fapp-router_nexauth_prisma_stripe_sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fapp-router_nexauth_prisma_stripe_sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroppy","download_url":"https://codeload.github.com/hiroppy/app-router_nexauth_prisma_stripe_sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Fapp-router_nexauth_prisma_stripe_sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263826447,"owners_count":23516763,"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-10-13T20:08:57.511Z","updated_at":"2025-07-05T23:40:53.551Z","avatar_url":"https://github.com/hiroppy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This sample shows how to handle Stripe payments using NextAuth and Prisma based on Next.js's app router.\n\nDummy cards: https://docs.stripe.com/testing\n\n## Setup\n\n**Installing Docker Compose**\n\nPlease check [Installation scenarios](https://docs.docker.com/compose/install/) section.\n\n**Enabling git hook and corepack**\n\n```sh\n$ npm run setup\n```\n\n**Installing Deps**\n\n```sh\n$ pnpm i\n```\n\n**Creating `.env.local` and modifying env**\n\n```sh\n$ cp .env.sample .env.local\n```\n\nIf you use Google OAuth, you need to set `GOOGLE_CLIENT_ID` and `GOOGLE_CLIENT_SECRET`, if not, you can remove a provider from `_clients/NextAuth.ts`. And NextAuth requires `NEXTAUTH_SECRET` token so please generate using OpenSSL.\n\n## Dev\n\n```sh\n# start docker-compose, migrations(generating the client), and next dev\n$ pnpm dev\n# create new migration\n$ pnpm dev:db:migrate\n# reset the DB\n$ pnpm dev:db:reset\n# view the contents\n$ pnpm dev:db:studio\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroppy%2Fapp-router_nexauth_prisma_stripe_sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroppy%2Fapp-router_nexauth_prisma_stripe_sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroppy%2Fapp-router_nexauth_prisma_stripe_sample/lists"}