{"id":28910874,"url":"https://github.com/plvo/crash-next","last_synced_at":"2026-05-17T21:02:46.336Z","repository":{"id":258614075,"uuid":"865450837","full_name":"plvo/crash-next","owner":"plvo","description":"Evolving Next.js template for experimenting with up-to-date practices and technologies.","archived":false,"fork":false,"pushed_at":"2025-06-15T22:02:42.000Z","size":20609,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T23:35:38.477Z","etag":null,"topics":["nextauth","nextjs","prisma","reacthookform","shadcn-ui","starter"],"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/plvo.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,"zenodo":null}},"created_at":"2024-09-30T14:51:32.000Z","updated_at":"2025-06-15T22:02:43.000Z","dependencies_parsed_at":"2025-04-25T17:49:24.119Z","dependency_job_id":"dc106043-12f7-454e-8a81-8368587af67c","html_url":"https://github.com/plvo/crash-next","commit_stats":null,"previous_names":["plvo/next-dashboard","plvo/next-social-boilerplate","plvo/next-boilerplate","plvo/crash-next"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/plvo/crash-next","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plvo%2Fcrash-next","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plvo%2Fcrash-next/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plvo%2Fcrash-next/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plvo%2Fcrash-next/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plvo","download_url":"https://codeload.github.com/plvo/crash-next/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plvo%2Fcrash-next/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32222139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"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":["nextauth","nextjs","prisma","reacthookform","shadcn-ui","starter"],"created_at":"2025-06-21T18:32:02.378Z","updated_at":"2026-04-24T11:37:39.748Z","avatar_url":"https://github.com/plvo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crash-next\n\nA Next.js starter designed as an evolving playground for experimenting with modern fullstack patterns, tools, and libraries.\n\nThis project is not a fixed boilerplate — it's meant to test ideas, refine architecture decisions, and stay aligned with the latest updates in the Next.js ecosystem. It can serve as a base for real projects, quick prototypes, or simply to explore what's possible with current best practices.\n\n## Goals\n\n1. **Experimentation**: Try out new patterns, libraries, and workflows.\n2. **Code reuse**: Maintain reusable logic for common fullstack tasks (auth, forms, API actions, etc).\n3. **Up-to-date stack**: Keep pace with evolving Next.js capabilities and the React ecosystem.\n4. **Clean architecture**: Test scalable patterns for server actions, client state, and component organization.\n\n## Tech Stack\n\n* **Next.js 15** (App Router, Server Actions)\n* **React 19**\n* **TypeScript**\n* **Prisma** (ORM) + **MySQL**\n* **NextAuth.js**\n* **Tanstack Query**\n* **TailwindCSS**, **shadcn/ui**, **Radix UI**\n* **Zod** (validation), **React Hook Form**\n* **Biome**, **Husky**, **bun** (runtime)\n\n## Architecture Overview\n\nModular and entity-based structure:\n\n```\nsrc/\n├── actions/         # Server-side business logic\n├── app/             # App Router pages (including protected routes)\n├── components/      # UI + domain-specific components\n├── hooks/           # Data hooks for each entity\n├── lib/             # Utilities, Prisma, auth, config\n├── styles/          # Tailwind and global styles\n└── types/           # Shared TypeScript types\n```\n\nNaming follows simple conventions (`use-*` for hooks, PascalCase for components, kebab-case for files).\n\n## Routing\n\n```bash\n/                      # Public home\n/signin                # Sign in\n/publications          # Protected content\n/user/[pseudo]         # User profile (protected)\n```\n\n## Core Features\n\n* **Server Actions** wrapped with standardized error handling (`withActionWrapper`)\n* **Typed hooks** (`useActionQuery`, `useActionMutation`) to bridge actions and UI\n* **Suspense + Error Boundaries** with `QueryBoundary`\n* **Pattern-based folder structure** for scalability\n* **Reusable form and validation setup** with Zod and React Hook Form\n* **Data caching and invalidation** using Tanstack Query\n\n## TODO\n\nPlanned areas of work:\n\n* Authentication: OTP, 2FA, OAuth\n* Real-time: Notifications, live updates\n* DevOps: Docker setup, monitoring, cloud deploy (e.g., Amplify + Terraform)\n* Performance: Query optimization, React Suspense\n* Testing: Playwright E2E, load testing (k6)\n\n## Contributing\n\nFeel free to fork or open PRs. This repo is meant to evolve — suggestions, new patterns, or experimental branches are welcome.\n\n## License\n\nMIT — see the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplvo%2Fcrash-next","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplvo%2Fcrash-next","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplvo%2Fcrash-next/lists"}