{"id":26562567,"url":"https://github.com/bagusvalentinoo/nextjs-auth-email-verification-app","last_synced_at":"2026-04-09T09:44:59.737Z","repository":{"id":283449842,"uuid":"951832176","full_name":"bagusvalentinoo/nextjs-auth-email-verification-app","owner":"bagusvalentinoo","description":"Comprehensive auth system for secure, user-friendly account management, including email/password login, 2FA, email verification, OTP, password reset, and advanced security","archived":false,"fork":false,"pushed_at":"2025-03-20T10:11:00.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T10:25:35.097Z","etag":null,"topics":["2-factor-authentication","authorization","better-auth","email-verification","next-authentication","nextjs","nextjs-bun","nextjs-typescript","nextjs15","otp-verification","password-reset-link","postgresql","prisma-orm","shadcn-ui"],"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/bagusvalentinoo.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}},"created_at":"2025-03-20T10:08:22.000Z","updated_at":"2025-03-20T10:14:02.000Z","dependencies_parsed_at":"2025-03-20T10:25:37.246Z","dependency_job_id":"47bbfdf8-d683-4d95-a52d-c7e2effeeeb5","html_url":"https://github.com/bagusvalentinoo/nextjs-auth-email-verification-app","commit_stats":null,"previous_names":["bagusvalentinoo/nextjs-auth-email-verification-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagusvalentinoo%2Fnextjs-auth-email-verification-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagusvalentinoo%2Fnextjs-auth-email-verification-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagusvalentinoo%2Fnextjs-auth-email-verification-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagusvalentinoo%2Fnextjs-auth-email-verification-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bagusvalentinoo","download_url":"https://codeload.github.com/bagusvalentinoo/nextjs-auth-email-verification-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244973810,"owners_count":20541025,"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":["2-factor-authentication","authorization","better-auth","email-verification","next-authentication","nextjs","nextjs-bun","nextjs-typescript","nextjs15","otp-verification","password-reset-link","postgresql","prisma-orm","shadcn-ui"],"created_at":"2025-03-22T15:18:09.815Z","updated_at":"2025-12-30T23:47:03.174Z","avatar_url":"https://github.com/bagusvalentinoo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next Auth Email Verification App - Comprehensive Authentication and Authorization Management\n\n## 📝 Description\n\n**Next Auth Email Verification App** is a comprehensive authentication and authorization management system that provides a secure and user-friendly experience for managing user accounts, permissions, and access control. It includes features such as email and password authentication, 2-factor authentication, email verification, one-time password (OTP) generation, password reset functionality, and advanced security measures.\n\n---\n\n## 🌐 Demo\n\nYou can see the demo of the app [Next Auth Email Verification App](https://next-auth-email-verification-app.vercel.app/).\n\n---\n\n## ✨ Key Features\n\n- **Authentication:**\n  - Email and Password Authentication\n  - 2-Factor Authentication\n  - Email Verification\n  - One-Time Password (OTP) Generation\n  - Password Reset\n  - Advanced Security Measures\n- **Authorization:**\n  - Protected Routes\n  - Guest Routes\n\n---\n\n## 🛠️ Technologies Used\n\n- **Framework:** Next.js v15\n- **Package Manager:** Bun\n- **Programming Language:** TypeScript\n- **Database:** PostgreSQL\n- **Authentication:** Better Auth\n- **ORM:** Prisma\n- **UI:** Shadcn UI\n- **Styling:** Tailwind CSS\n- **Linting:** ESLint\n- **Formatting:** Prettier\n- **Deployment:** Vercel\n\n---\n\n## 🔧 Installation\n\n### Local Installation\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/bagusvalentinoo/next-auth-email-verification-app.git\n   cd next-auth-email-verification-app\n   ```\n\n2. **Configure environment variables:**\n\n   - Copy the example `.env` file and update the values as needed:\n     ```bash\n     cp .env.example .env\n     ```\n\n3. **Install dependencies using Bun:**\n\n   ```bash\n   bun install\n   ```\n\n4. **Generate Prisma Client:**\n\n   ```bash\n   bunx prisma generate\n   ```\n\n5. **Push database schema:**\n\n   ```bash\n   bun run db:migrate\n   ```\n\n6. **Start the development server:**\n\n   ```bash\n   bun run dev\n   ```\n\n7. **Access the application:**\n   Open your browser and navigate to `http://localhost:3000`.\n\n---\n\n### Installation via Docker\n\n---\n\n## 📊 Migration \u0026 Database Seeding\n\n- **Apply database schema:**\n\n  ```bash\n  bun run db:migrate\n  ```\n\n- **Rollback database schema:**\n\n  ```bash\n  bun run db:migrate:rollback\n  ```\n\n- **Fresh database:**\n\n  ```bash\n  bun run db:migrate:fresh\n  ```\n\n---\n\n## 📜 License\n\nThis project is licensed under the [MIT License](./LICENSE).\n\n---\n\n## 📞 Support\n\nIf you encounter any issues or have questions, feel free to \u003ca href=\"https://github.com/bagusvalentinoo/next-auth-email-verification-app/issues\" target=\"_blank\"\u003eopen an issue\u003c/a\u003e or contact the maintainers.\n\n---\n\n## 📚 Resources\n\n- \u003ca href=\"https://nextjs.org/docs\" target=\"_blank\"\u003eNext.js Documentation\u003c/a\u003e\n- \u003ca href=\"https://bun.sh/docs\" target=\"_blank\"\u003eBun Documentation\u003c/a\u003e\n- \u003ca href=\"https://www.prisma.io/docs\" target=\"_blank\"\u003ePrisma Documentation\u003c/a\u003e\n- \u003ca href=\"https://www.betterstack.com/docs/better-auth/introduction\" target=\"_blank\"\u003eBetter Auth Documentation\u003c/a\u003e\n- \u003ca href=\"https://www.shadcn.com/docs\" target=\"_blank\"\u003eShadcn UI Documentation\u003c/a\u003e\n- \u003ca href=\"https://tailwindcss.com/docs\" target=\"_blank\"\u003eTailwind CSS Documentation\u003c/a\u003e\n- \u003ca href=\"https://eslint.org/docs\" target=\"_blank\"\u003eESLint Documentation\u003c/a\u003e\n- \u003ca href=\"https://prettier.io/docs\" target=\"_blank\"\u003ePrettier Documentation\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbagusvalentinoo%2Fnextjs-auth-email-verification-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbagusvalentinoo%2Fnextjs-auth-email-verification-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbagusvalentinoo%2Fnextjs-auth-email-verification-app/lists"}