{"id":19226179,"url":"https://github.com/mikeheul/next-auth-app","last_synced_at":"2026-04-02T04:45:22.741Z","repository":{"id":227756084,"uuid":"772313532","full_name":"mikeheul/next-auth-app","owner":"mikeheul","description":"Next.js application for user authentication using NextAuth.js, MongoDB, and React","archived":false,"fork":false,"pushed_at":"2024-03-18T13:45:17.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-04T21:42:33.675Z","etag":null,"topics":["mongodb","mongoose","nextauthjs","nextjs","reactjs","tailwindcss"],"latest_commit_sha":null,"homepage":"https://next-auth-app-woad.vercel.app","language":"JavaScript","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/mikeheul.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}},"created_at":"2024-03-15T00:15:19.000Z","updated_at":"2024-03-18T13:57:06.000Z","dependencies_parsed_at":"2024-03-17T21:50:22.858Z","dependency_job_id":"3420b58c-4de8-4f42-91c8-057428cc6806","html_url":"https://github.com/mikeheul/next-auth-app","commit_stats":null,"previous_names":["mikeheul/next-auth-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeheul%2Fnext-auth-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeheul%2Fnext-auth-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeheul%2Fnext-auth-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikeheul%2Fnext-auth-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikeheul","download_url":"https://codeload.github.com/mikeheul/next-auth-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240300041,"owners_count":19779549,"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":["mongodb","mongoose","nextauthjs","nextjs","reactjs","tailwindcss"],"created_at":"2024-11-09T15:17:43.648Z","updated_at":"2025-12-30T19:41:08.472Z","avatar_url":"https://github.com/mikeheul.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Authentication App\n\nThis is a Next.js application for user authentication using NextAuth.js, MongoDB, and React. It provides functionalities for user registration, login, logout, and accessing user information.\n\n## Features\n\n- User registration: Users can register with their name, email, and password.\n- User login: Registered users can log in with their email and password.\n- User logout: Logged-in users can log out of their accounts.\n- Access user information: Logged-in users can view their name and email.\n\n## Technologies Used\n\n- Next.js: A React framework for building server-side rendered and statically generated web applications.\n- NextAuth.js: A complete authentication solution for Next.js applications.\n- MongoDB: A NoSQL database used to store user data.\n- Mongoose: An Object Data Modeling (ODM) library for MongoDB and Node.js.\n- bcrypt.js: A library for hashing passwords.\n- Tailwind CSS: A utility-first CSS framework used for styling the application.\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/your-username/next-authentication-app.git\n```\n\n2. Install dependencies:\n\n```bash\ncd next-authentication-app\nnpm install\n```\n\n3. Set up environment variables:\n\nCreate a `.env.local` file in the root directory and add the following environment variables:\n\n```plaintext\nMONGODB_URI=your_mongodb_uri\nNEXTAUTH_SECRET=your_nextauth_secret\n```\n\n4. Start the development server:\n\n```bash\nnpm run dev\n```\n\n5. Access the application:\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser to view the application.\n\n## Usage\n\n1. Register: Click on the \"Register\" link to register as a new user. Provide your name, email, and password.\n2. Login: After registering, you can log in with your email and password.\n3. Logout: Logged-in users can log out by clicking the \"Log Out\" button.\n4. User Info: Once logged in, you can view your name and email on the user information page.\n\n\nThis is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.\n\nThis project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeheul%2Fnext-auth-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikeheul%2Fnext-auth-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikeheul%2Fnext-auth-app/lists"}