{"id":30444857,"url":"https://github.com/maruf-pfc/next-auth-dashboard-starter","last_synced_at":"2026-05-01T18:32:34.208Z","repository":{"id":309098342,"uuid":"1027795846","full_name":"maruf-pfc/next-auth-dashboard-starter","owner":"maruf-pfc","description":"A production-ready Next.js starter template with authentication and a dashboard layout. Built with Tailwind CSS, ShadCN UI, and NextAuth.js (Google \u0026 GitHub login supported). Perfect for SaaS apps, admin panels, and developer dashboards.","archived":false,"fork":false,"pushed_at":"2025-08-09T19:37:53.000Z","size":245,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-23T10:21:46.795Z","etag":null,"topics":["admin-dashboard","boilerplate-template","dashboard","github","google","hacktoberfest","next-auth","nextjs","shadcn-ui","starter-template","tailwindcss"],"latest_commit_sha":null,"homepage":"https://next-auth-dashboard-starter.vercel.app","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/maruf-pfc.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":"2025-07-28T14:44:32.000Z","updated_at":"2025-08-15T12:20:05.000Z","dependencies_parsed_at":"2025-08-09T21:28:11.588Z","dependency_job_id":null,"html_url":"https://github.com/maruf-pfc/next-auth-dashboard-starter","commit_stats":null,"previous_names":["maruf-pfc/next-auth-dashboard-starter"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/maruf-pfc/next-auth-dashboard-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruf-pfc%2Fnext-auth-dashboard-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruf-pfc%2Fnext-auth-dashboard-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruf-pfc%2Fnext-auth-dashboard-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruf-pfc%2Fnext-auth-dashboard-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maruf-pfc","download_url":"https://codeload.github.com/maruf-pfc/next-auth-dashboard-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruf-pfc%2Fnext-auth-dashboard-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32508901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["admin-dashboard","boilerplate-template","dashboard","github","google","hacktoberfest","next-auth","nextjs","shadcn-ui","starter-template","tailwindcss"],"created_at":"2025-08-23T10:20:20.916Z","updated_at":"2026-05-01T18:32:34.180Z","avatar_url":"https://github.com/maruf-pfc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NextAuth Dashboard Starter\n\nA production-ready **Next.js** starter template featuring authentication and a dashboard layout. Built with **Tailwind CSS**, **ShadCN UI**, and **NextAuth.js** (Google \u0026 GitHub login supported). Ideal for SaaS applications, admin panels, and developer dashboards.\n\n## Features\n\n- **Next.js 15+** with App Router and Server Components\n- User authentication with **NextAuth.js** supporting Google \u0026 GitHub providers\n- Responsive, accessible, and customizable dashboard layout\n- Sidebar navigation with multi-level menu support\n- Built with **Tailwind CSS** \u0026 **ShadCN UI** for rapid UI development\n- TypeScript ready (optional) and clean, modular codebase\n- SEO friendly with server-side rendering (SSR) support\n- Docker-ready with CI workflow for automated builds and pushes\n- Breadcrumb navigation for easy page context and navigation\n\n## Demo\n\n![Dashboard Screenshot](./public/demo.png)\n\nTry the live demo: \u003chttps://next-auth-dashboard-starter.vercel.app\u003e\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js \u003e= 20.x\n- npm or yarn or pnpm\n- A Google OAuth app (for Google authentication)\n- A GitHub OAuth app (for GitHub authentication)\n\n### Installation\n\n```bash\ngit clone https://github.com/maruf-pfc/next-auth-dashboard-starter.git\ncd next-auth-dashboard-starter\npnpm install\n```\n\n### Environment Variables\n\nCreate a `.env.local` file in the root directory and add your OAuth credentials:\n\n```env\nNEXTAUTH_SECRET=your_nextauth_secret\nGOOGLE_CLIENT_ID=your_google_client_id\nGOOGLE_CLIENT_SECRET=your_google_client_secret\nGITHUB_ID=your_github_client_id\nGITHUB_SECRET=your_github_client_secret\nNEXTAUTH_URL=http://localhost:3000\n```\n\n\u003e Replace values with your actual secrets.\n\n### Running Locally\n\n```bash\npnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n### Building for Production\n\n```bash\npnpm run build\npnpm start\n```\n\n## Docker Support\n\n### Build and Run Docker Image\n\n```bash\ndocker build -t next-auth-dashboard-starter .\ndocker run -p 3000:3000 next-auth-dashboard-starter\n```\n\n### GitHub Actions\n\nAutomated Docker image build and push is configured in `.github/workflows/docker-image-ci.yml`.\n\n## Authentication\n\n- Uses **NextAuth.js** with built-in Google and GitHub OAuth providers\n- Session handling with React hooks `useSession()`\n- Protected routes with client-side redirects on logout\n\n## Customization\n\n- Sidebar menu structure configurable via `lib/menu-items.ts`\n- UI components built with ShadCN UI, easily extendable\n- Tailwind CSS config for theming and styling\n\n## Contributing\n\nContributions are welcome! Feel free to submit issues or pull requests.\n\n## License\n\nMIT License © [Md. Maruf Sarker](https://github.com/maruf-pfc)\n\n## Contact\n\nIf you have questions or want to collaborate, reach out:\n\n- Email: [mdmarufsarker.mms@gmail.com](mailto:mdmarufsarker.mms@gmail.com)\n- GitHub: [https://github.com/maruf-pfc](https://github.com/maruf-pfc)\n- Twitter: [@md_marufsarker](https://twitter.com/md_marufsarker)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaruf-pfc%2Fnext-auth-dashboard-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaruf-pfc%2Fnext-auth-dashboard-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaruf-pfc%2Fnext-auth-dashboard-starter/lists"}