{"id":26217384,"url":"https://github.com/iritman/next-auth-credentials","last_synced_at":"2026-04-20T18:33:00.110Z","repository":{"id":281259322,"uuid":"944727744","full_name":"iritman/next-auth-credentials","owner":"iritman","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-07T21:41:23.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-12T20:17:24.722Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/iritman.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-07T21:29:17.000Z","updated_at":"2025-03-07T21:41:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4213eee-f25d-4a75-b63d-6e78c1b2b175","html_url":"https://github.com/iritman/next-auth-credentials","commit_stats":null,"previous_names":["iritman/next-auth-credentials"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iritman/next-auth-credentials","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iritman%2Fnext-auth-credentials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iritman%2Fnext-auth-credentials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iritman%2Fnext-auth-credentials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iritman%2Fnext-auth-credentials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iritman","download_url":"https://codeload.github.com/iritman/next-auth-credentials/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iritman%2Fnext-auth-credentials/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32059788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-03-12T12:26:38.302Z","updated_at":"2026-04-20T18:33:00.105Z","avatar_url":"https://github.com/iritman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔐 NextAuth Credentials Manager\n\nA modern authentication system built with Next.js 14, featuring secure credential-based authentication and user management.\n\n## 🌟 Overview\n\nNextAuth Credentials Manager is a robust authentication solution that provides a secure and user-friendly login system. Built with Next.js and TypeScript, it implements best practices for authentication and session management.\n\n## ✨ Features\n\n- 🔒 Secure credential-based authentication\n- 👤 User registration with data validation\n- 🔑 Password management with encryption\n- 🛡️ Protected dashboard routes\n- 🔄 Session management\n- ⚡ Real-time form validation\n- 🎨 Modern UI with Radix UI components\n- 📱 Responsive design\n\n## 🛠️ Tech Stack\n\n- Next.js 15\n- TypeScript\n- NextAuth.js\n- Prisma\n- PostgreSQL\n- Zod Validation\n- Radix UI\n- Tailwind CSS\n- Axios\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Node.js 18+ installed\n- PostgreSQL database\n- npm or yarn package manager\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/iritman/next-auth-credentials.git\ncd next-auth-credentials\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n# or\nyarn install\n```\n\n3. Set up environment variables:\n   Create a `.env` file in the root directory and add:\n\n```env\nDATABASE_URL=\"your_sqlserver_database_url\"\nNEXTAUTH_SECRET=\"your_nextauth_secret\"\nNEXTAUTH_URL=\"http://localhost:3000\"\n```\n\n4. Run database migrations:\n\n```bash\nnpx prisma migrate dev\n```\n\n5. Start the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\n## 🔍 Features in Detail\n\n### Authentication\n\n- Secure login with username/password\n- JWT-based session management\n- Protected routes with middleware\n- Session persistence\n\n### User Management\n\n- User registration with data validation\n- Password change functionality\n- Secure password hashing\n- User profile information\n\n### Security\n\n- Form validation with Zod\n- Password encryption with bcrypt\n- Protected API routes\n- Secure session handling\n\n### UI/UX\n\n- Clean and modern interface\n- Loading states and feedback\n- Error handling and messages\n- Responsive design for all devices\n\n## 📝 API Routes\n\n- `/api/auth/signup` - User registration\n- `/api/auth/login` - User authentication\n- `/api/auth/change-password` - Password management\n- `/api/auth/[...nextauth]` - NextAuth configuration\n\n## 🔧 Configuration\n\nThe project uses several key configurations:\n\n- NextAuth.js for authentication\n- Prisma for database management\n- Zod for schema validation\n- Radix UI for components\n- Tailwind CSS for styling\n\n## 👏 Acknowledgments\n\n- Next.js team for the amazing framework\n- Radix UI for beautiful components\n- NextAuth.js for authentication solutions\n- Prisma team for the database toolkit\n\n## 🌟 Contributing\n\nContributions are welcome! Feel free to open an issue or submit a pull request. 🚀\n\n## 📄 License\n\nThis project is licensed under the MIT License.\n\n## 📧 Contact\n\nFor any questions or feedback, feel free to reach out:\n\n- 📩 Email: [iritman@gmail.com](mailto:iritman@gmail.com)\n- 🔗 LinkedIn: [Naiem Yousefifard](https://www.linkedin.com/in/naiem-yousefifard-11086729b)\n\nHappy coding! 🎉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firitman%2Fnext-auth-credentials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firitman%2Fnext-auth-credentials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firitman%2Fnext-auth-credentials/lists"}