{"id":19997989,"url":"https://github.com/m-tijani/auth_package","last_synced_at":"2025-05-04T14:30:36.094Z","repository":{"id":261075664,"uuid":"882488045","full_name":"M-Tijani/Auth_Package","owner":"M-Tijani","description":"A starter project for next js with authentication Next.js + Tailwind + Typescript + Prisma + NextAuth + Google_Auth + Mongodb starter template.","archived":false,"fork":false,"pushed_at":"2024-11-12T21:14:07.000Z","size":272,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T07:17:40.045Z","etag":null,"topics":["authentication","authorization","mongodb","nextauth","nextauth-google","nextjs","prisma","shadcn-ui","zod"],"latest_commit_sha":null,"homepage":"https://auth-package.vercel.app","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/M-Tijani.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}},"created_at":"2024-11-02T22:51:43.000Z","updated_at":"2025-04-06T21:05:57.000Z","dependencies_parsed_at":"2024-11-04T15:43:57.387Z","dependency_job_id":"136addf6-dd9a-47f3-a8af-e7b7d7c91362","html_url":"https://github.com/M-Tijani/Auth_Package","commit_stats":null,"previous_names":["m-tijani/auth_package"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-Tijani%2FAuth_Package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-Tijani%2FAuth_Package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-Tijani%2FAuth_Package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-Tijani%2FAuth_Package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/M-Tijani","download_url":"https://codeload.github.com/M-Tijani/Auth_Package/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252349116,"owners_count":21733776,"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":["authentication","authorization","mongodb","nextauth","nextauth-google","nextjs","prisma","shadcn-ui","zod"],"created_at":"2024-11-13T05:06:48.107Z","updated_at":"2025-05-04T14:30:35.793Z","avatar_url":"https://github.com/M-Tijani.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Authentication Starter Kit\n\nA complete starter kit for implementing robust user authentication in Next.js projects, including Google OAuth and form validation. This kit simplifies the integration of a modern authentication stack with best practices.\n\n![App Screenshot](https://i.ibb.co/LhKyQ80/1.png)\n\n## Features\n\n- **Google OAuth Integration**: Out-of-the-box support for authenticating users via Google.\n- **Form Validation**: Robust client-side and server-side form validation using Zod.\n- **Reusable UI Components**: Pre-built and styled components from ShadCN for faster development.\n- **Data Management**: Integration with Prisma and MongoDB for handling user data.\n- **Type Safety**: Full TypeScript support for safer and more reliable code.\n- **Responsive Design**: UI components are mobile-friendly and accessible.\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/M-Tijani/Auth_Package\n   cd Auth_Package\n   ```\n\n2. Install the packeges:\n\n   ```bash\n   npm install or npm i\n   or\n   pnpm install or npm i\n   ```\n\n3. Set up your environment variables.:\n\n   ```bash\n   DATABASE_URL=\"mongodb+srv://name:password@mongodb.net\"/databaseName?retryWrites=true\u0026w=majority\n   GOOGLE_CLIENT_ID=From_Google_Console\n   GOOGLE_CLIENT_SECRET=From_Google_Console\n   JWT_SECRET=Make_A_Unique_String\n   NEXTAUTH_SECRET=Make_A_Unique_String\n   MAILER_SEND_API_KEY=From_Mailjet\n   GMAIL_APP_PASSWORD=Create_Your_App_Password\n   GMAIL_USER=Your_Gmail_Account\n   BRAND_NAME=Your_Brand_Name // \"You can remove it if you want\"\n   PRODUCTION=https://your_domain.com\n   LOCAL=http://localhost:3000\n   ENVIRONMENT=LOCAL\n   ```\n\n4. Prisma Schema:\n\n   ```bash\n   npx prisma generate\n   ```\n   \n5. Install the packeges:\n\n   ```bash\n   npm run dev\n   or\n   pnpm run dev\n   ```\n\n6.Open http://localhost:3000 to see your application in action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-tijani%2Fauth_package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-tijani%2Fauth_package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-tijani%2Fauth_package/lists"}