{"id":31589388,"url":"https://github.com/internet-development/nextjs-intdev-services-auth-payments","last_synced_at":"2026-05-05T19:32:40.145Z","repository":{"id":315025201,"uuid":"1057573736","full_name":"internet-development/nextjs-intdev-services-auth-payments","owner":"internet-development","description":"A template for the Internet Development Studio Company to easily build applications with full authentication, payments, and user tiers","archived":false,"fork":false,"pushed_at":"2026-04-01T06:57:27.000Z","size":177,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-01T09:29:41.855Z","etag":null,"topics":["nextjs","payments","react","stripe","template"],"latest_commit_sha":null,"homepage":"https://payments.internet.dev","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/internet-development.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-09-15T23:20:53.000Z","updated_at":"2026-04-01T06:57:31.000Z","dependencies_parsed_at":"2025-09-16T09:36:51.927Z","dependency_job_id":"7b9b9bad-6844-4e67-a08d-7eee0f508df5","html_url":"https://github.com/internet-development/nextjs-intdev-services-auth-payments","commit_stats":null,"previous_names":["internet-development/nextjs-intdev-services-auth-payments"],"tags_count":0,"template":true,"template_full_name":"internet-development/nextjs-sass-starter","purl":"pkg:github/internet-development/nextjs-intdev-services-auth-payments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internet-development%2Fnextjs-intdev-services-auth-payments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internet-development%2Fnextjs-intdev-services-auth-payments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internet-development%2Fnextjs-intdev-services-auth-payments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internet-development%2Fnextjs-intdev-services-auth-payments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/internet-development","download_url":"https://codeload.github.com/internet-development/nextjs-intdev-services-auth-payments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internet-development%2Fnextjs-intdev-services-auth-payments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32664915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["nextjs","payments","react","stripe","template"],"created_at":"2025-10-06T02:52:22.967Z","updated_at":"2026-05-05T19:32:40.140Z","avatar_url":"https://github.com/internet-development.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nextjs-intdev-services-auth-payments\n\nThe official starter template for building applications on the [Internet Development Studio Company](https://internet.dev) API. Provides working implementations of authentication, payments, and user management — ready to clone and build on.\n\n### What's Included\n\n- **Authentication** — Email/password login and account creation, OAuth (Google, Apple, Bluesky), session management via cookies, password recovery\n- **Payments** — Stripe subscription tiers (Free, Professional, Co-working, Partner), payment method management, direct charges\n- **File Uploads** — S3 and Google Cloud Storage via presigned URLs (15MB max)\n- **Content** — Documents and posts/threads CRUD operations\n- **UI System** — Themed component library (5 themes), modal system, form elements, typography, SVG icons\n- **Server-Side Rendering** — `getServerSideProps` with session validation on every page load\n\n### Setup\n\nRequires Node.js \u003e= 18.\n\n```sh\ngit clone https://github.com/internet-development/nextjs-intdev-services-auth-payments.git\ncd nextjs-intdev-services-auth-payments\nnpm install\n```\n\nCreate a `.env` file:\n\n```sh\nAPI_AES_KEY=xxxxx\nAPI_IV_KEY=xxxxx\n```\n\nThese keys enable OAuth and password recovery. Contact the [INTDEV team](https://company.internet.dev) for the correct values. Email/password authentication works without them.\n\n```sh\nnpm run dev\n```\n\nOpen `http://localhost:10000`.\n\n### Scripts\n\n| Command | Description |\n|---|---|\n| `npm run dev` | Development server on port 10000 |\n| `npm run build` | Production build |\n| `npm start` | Production server on port 10000 |\n| `npm run lint` | Run Next.js linter |\n\n### Architecture\n\nThis is a **frontend-only application**. All data persists on the backend API at `https://api.internet.dev` ([source](https://github.com/internet-development/apis)). The template communicates via HTTP requests with `X-API-KEY` headers and manages sessions through browser cookies.\n\n```\npages/          → Next.js pages and API routes\ncomponents/     → Page-level feature components\nsystem/         → Reusable design system (buttons, inputs, modals, typography)\ncommon/         → Shared utilities (API queries, constants, server helpers)\nmodules/        → Low-level modules (cookies, encryption, CORS)\n```\n\n### OAuth Configuration\n\nTo enable OAuth for your deployment, set `OAUTH_REDIRECT_SIGNATURE` in `common/constants.ts` and submit a PR to the [APIs repository](https://github.com/internet-development/apis) to register your redirect URL.\n\n### Documentation\n\n- **[AGENTS.md](./AGENTS.md)** — Comprehensive developer guide: conventions, architecture, API endpoints, and extension patterns\n- **[TEMPLATE-AUDIT.md](./TEMPLATE-AUDIT.md)** — Template usability audit and improvement recommendations\n\n### Related Repositories\n\n- [internet-development/apis](https://github.com/internet-development/apis) — Backend API source code\n- [internet-development/nextjs-sass-starter](https://github.com/internet-development/nextjs-sass-starter) — Minimal Next.js starter (no auth/payments)\n\n### Contact\n\nQuestions? Reach out on Twitter: [@wwwjim](https://www.twitter.com/wwwjim) or [@internetxstudio](https://x.com/internetxstudio).\n\n### License\n\nMIT — Internet Development Studio Company\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finternet-development%2Fnextjs-intdev-services-auth-payments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finternet-development%2Fnextjs-intdev-services-auth-payments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finternet-development%2Fnextjs-intdev-services-auth-payments/lists"}